Skip to content

Commit

Permalink
ci(test): cache mise installed tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Mar 17, 2024
1 parent b5ef2f7 commit 0e433b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
tool: nextest,just,cargo-deny,cargo-msrv,cargo-machete,usage-cli
- name: Install direnv
run: sudo apt-get update; sudo apt-get install direnv
- run: cargo binstall usage-cli
- run: cargo nextest run --all-features
env:
RUST_BACKTRACE: "1"
Expand All @@ -46,6 +45,13 @@ jobs:
- run: ./scripts/test-standalone.sh
- run: cargo build --all-features
- run: ./target/debug/mise settings set experimental true
- uses: actions/cache@v4
with:
path: |
~/.local/share/mise/installs
~/.local/share/mise/plugins
key: v0-mise-tools-${{ hashFiles('.mise.toml') }}
restore-keys: v0-mise-tools
- run: ./target/debug/mise install
- run: ./target/debug/mise run render
- run: ./target/debug/mise run lint-fix
Expand Down

0 comments on commit 0e433b9

Please sign in to comment.