Skip to content

chore(deps): update actions/checkout action to v4 #55

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

chore(deps): update actions/checkout action to v4 #55

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@v4
- name: cache cargo
uses: actions/cache@v2
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