Skip to content

Commit

Permalink
caching and debugging action
Browse files Browse the repository at this point in the history
  • Loading branch information
andogq committed Jul 16, 2024
1 parent 7da913a commit 51bfce2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
- name: "Checkout code"
uses: "actions/checkout@v4"

- name: "Run clippy"
run: "cargo clippy"
env:
LLVM_SYS_170_PREFIX: "${{ env.LLVM_PATH }}"
- name: "Cache build artifacts"
uses: "Swatinem/rust-cache@v2"

- name: "Run tests"
run: "cargo test"
- name: "Build and test"
run: |
echo "Using LLVM_PATH: $LLVM_PATH"
cargo clippy
cargo test
env:
LLVM_SYS_170_PREFIX: "${{ env.LLVM_PATH }}"

0 comments on commit 51bfce2

Please sign in to comment.