Skip to content

Commit

Permalink
cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadamandersson committed May 10, 2023
1 parent 17c0b84 commit 500047a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- run: cargo check

test:
Expand All @@ -23,6 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- run: cargo test

deploy:
Expand All @@ -31,6 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -44,6 +47,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --check

clippy:
Expand All @@ -54,6 +58,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy -- -Dwarnings

typos:
Expand Down

0 comments on commit 500047a

Please sign in to comment.