api-backend/.forgejo/workflows/test.yml
Neshura c675c7c860
All checks were successful
Run Tests on Code / run-tests (push) Successful in 12s
Build binary file and bundle packages / test (pull_request) Successful in 11s
Build binary file and bundle packages / build (pull_request) Successful in 26s
Build binary file and bundle packages / test-env (pull_request) Successful in 0s
CI Cross-Job Var Fix Attempt
2024-08-07 21:07:12 +02:00

33 lines
781 B
YAML

name: 'Run Tests on Code'
author: 'Neshura'
on:
push:
tags-ignore:
- '**'
branches:
- '**'
jobs:
run-tests:
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/rust-node:latest
steps:
- name: Add Clippy
run: rustup component add clippy
- name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Set Up Cargo Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run Clippy
run: cargo clippy