Skip to content

Commit

Permalink
Try to install rust before trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Aug 30, 2024
1 parent e31c31f commit 6404c7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- run: rustup update
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"

- name: Run tests
run: cargo test --all-features
6 changes: 6 additions & 0 deletions .github/workflows/trunk_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- run: rustup update
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"

- name: Trunk Check
uses: trunk-io/trunk-action@v1

0 comments on commit 6404c7b

Please sign in to comment.