Skip to content

Commit

Permalink
Merge pull request #29 from wbcsd/martin/ci-update
Browse files Browse the repository at this point in the history
build: update github actions to latest versions
  • Loading branch information
zeitgeist authored Apr 17, 2024
2 parents 9bce8b2 + c82fc69 commit fd13078
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@ jobs:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/checkout@v3
- name: Cache target
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-default-target-and-lockfile
with:
path: |
endpoint/target
endpoint/Cargo.lock
~/.rustup
key: ${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: CI
env:
PRIV_KEY: ${{ secrets.PRIV_KEY }}
Expand Down

0 comments on commit fd13078

Please sign in to comment.