Skip to content

test: implement repository-wide unit tests #5

test: implement repository-wide unit tests

test: implement repository-wide unit tests #5

Workflow file for this run

name: Setup
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo
~/.rustup/toolchains
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install Rust
run: |
rustup toolchain install stable
rustup component add rustfmt clippy
- uses: Swatinem/rust-cache@v2