Skip to content

Commit

Permalink
Merge pull request #686 from Stremio/feat/ci-workflow-rust-caching
Browse files Browse the repository at this point in the history
feat(ci): build & msrv workflows caching (only for stable!)
  • Loading branch information
elpiel authored May 10, 2024
2 parents 00354fc + ef68af7 commit 4a0b991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- name: Rust setup (stable)
uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2

- name: Lint - rustfmt
run: cargo fmt --all -- --check

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
with:
toolchain: ${{ env.RUST_MSRV_VERSION }}

- uses: Swatinem/rust-cache@v2

- name: Checkout
uses: actions/checkout@v4

Expand Down

0 comments on commit 4a0b991

Please sign in to comment.