Skip to content

Commit

Permalink
Update .github/workflows/tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Aug 17, 2024
1 parent 55f46ce commit edd9307
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
name: Run Anchor Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand All @@ -27,11 +27,7 @@ jobs:
key: ${{ runner.os }}-cargo-solana-${{ hashFiles('**/Cargo.lock') }}

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
uses: dtolnay/rust-toolchain@stable

- name: Install Solana
run: |
Expand All @@ -56,8 +52,8 @@ jobs:
anchor test --skip-local-validator
- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: target/debug/deps/
path: target

0 comments on commit edd9307

Please sign in to comment.