From edd930773a0ad67f02253bcce394fa1485b530c2 Mon Sep 17 00:00:00 2001 From: s-damian Date: Sat, 17 Aug 2024 11:10:57 +0300 Subject: [PATCH] Update .github/workflows/tests.yml --- .github/workflows/tests.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c8c6ddd..0cd6f33 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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: | @@ -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/ \ No newline at end of file + path: target \ No newline at end of file