diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7998066..82bd6a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,11 +28,17 @@ jobs: toolchain: nightly override: true components: rustfmt, clippy + - name: Cache Rust dependencies uses: Swatinem/rust-cache@v2 + with: + workspaces: | + . -> target + - name: lint - ubuntu-latest if: success() || failure() run: chmod 777 ./ci_scripts/lint-ubuntu.sh && ./ci_scripts/lint-ubuntu.sh + - name: test ubuntu-latest if: success() || failure() run: chmod 777 ./ci_scripts/test-ubuntu.sh && ./ci_scripts/test-ubuntu.sh