Skip to content

build(deps): bump the all group across 1 directory with 7 updates #17

build(deps): bump the all group across 1 directory with 7 updates

build(deps): bump the all group across 1 directory with 7 updates #17

Workflow file for this run

name: linux
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: "Install Rust"
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "stable"
components: "rustfmt"
- name: "Cache cargo registry"
uses: actions/cache@v4
with:
path: "~/.cargo/registry"
key: "ubuntu-${{ hashFiles('Cargo.toml') }}-cargo-registry"
- name: "Cache cargo index"
uses: actions/cache@v4
with:
path: "~/.cargo/git"
key: "ubuntu-${{ hashFiles('Cargo.toml') }}-cargo-index"
- name: "Cache cargo build"
uses: actions/cache@v4
with:
path: "target"
key: "ubuntu-${{ hashFiles('Cargo.toml') }}-cargo-build-target"
- name: Check formatting
run: cargo fmt --all -- --check
- name: Build
run: cargo build --all --release
- name: Test
run: cargo test --all