Skip to content

moving jobs out to see if they run faster #1

moving jobs out to see if they run faster

moving jobs out to see if they run faster #1

Workflow file for this run

on: pull_request
name: Clippy
jobs:
test:
strategy:
matrix:
platform: [ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: "Environment Setup"
uses: ./.github/base
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: clippy
run: cargo clippy -- -D warnings
shell: bash