name: 'Run Tests on Code' author: 'Neshura' on: push: tags-ignore: - '**' branches: - '**' jobs: run-tests: runs-on: docker container: rust:latest steps: - name: Installing Node uses: actions/setup-node@v4 with: node-version: 18 - name: Add Clippy run: rustup component add clippy - 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: Checking Out Repository Code uses: https://code.forgejo.org/actions/checkout@v3 - name: Run Clippy run: cargo clippy