Skip to content

chore(deps): update actions/cache action to v4 #56

chore(deps): update actions/cache action to v4

chore(deps): update actions/cache action to v4 #56

Workflow file for this run

name: Test
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: install rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: build
uses: actions-rs/cargo@v1
with:
command: build
- name: test
uses: actions-rs/cargo@v1
with:
command: test
args: -- --show-output