Skip to content

chore(deps): bump actions/checkout from 3 to 4 #184

chore(deps): bump actions/checkout from 3 to 4

chore(deps): bump actions/checkout from 3 to 4 #184

Workflow file for this run

on:
pull_request:
push:
branches: [main]
name: Run test suite
env:
RUST_VERSION: nightly-2022-09-13
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.RUST_VERSION }}
override: true
- name: Cache packages
id: cache-cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ env.RUST_VERSION }}-${{ hashFiles('**/Cargo.lock') }}-test
restore-keys: |
${{ runner.os }}-cargo-${{ env.RUST_VERSION }}-${{ hashFiles('**/Cargo.lock') }}
${{ runner.os }}-cargo-${{ env.RUST_VERSION }}-
- name: test/release
uses: actions-rs/cargo@v1
with:
command: test
args: --release