ci: update actions

This commit is contained in:
Caelan Sayler
2024-02-01 15:26:57 +00:00
parent 8c27d9b348
commit b8c601bc98

View File

@@ -20,7 +20,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: | path: |
~/.cargo/bin/ ~/.cargo/bin/
@@ -30,7 +30,7 @@ jobs:
target/ target/
key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: ~/.nuget/packages path: ~/.nuget/packages
key: ${{ runner.os }}-test-nuget-${{ hashFiles('**/packages.lock.json') }} key: ${{ runner.os }}-test-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -111,7 +111,7 @@ jobs:
src/Rust/target/release/*.exe src/Rust/target/release/*.exe
- name: Upload Coverage to Codecov - name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v4
env: env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with: with:
@@ -129,7 +129,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/cache@v3 - uses: actions/cache@v4
with: with:
path: ~/.nuget/packages path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}