diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3a105a3..87767e3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,16 +27,22 @@ jobs: check-fmt: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - name: Check formatting run: cargo fmt --all -- --check check-docs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "true" - name: Check docs run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features clippy: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - uses: Swatinem/rust-cache@v2 with: cache-on-failure: "true"