Skip to content

Commit

Permalink
ci: add caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Markos-Th09 committed Aug 2, 2023
1 parent 7dfef80 commit 62d01ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache build
uses: Swatinem/rust-cache@v2
- name: Publish to crates.io
run: cargo publish
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
toolchain: nightly
components: miri, clippy
override: true
- name: Cache build
uses: Swatinem/rust-cache@v2
- name: Lint code
run: cargo clippy
- name: Run tests
Expand Down

0 comments on commit 62d01ee

Please sign in to comment.