Skip to content

chore(deps): bump the cargo-dependencies group across 1 directory with 7 updates #235

chore(deps): bump the cargo-dependencies group across 1 directory with 7 updates

chore(deps): bump the cargo-dependencies group across 1 directory with 7 updates #235

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build & Test
runs-on: ubuntu-22.04
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-gnu
components: rustfmt, clippy
- name: Cache Cargo dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check the formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check --verbose
- name: Build the project
uses: actions-rs/cargo@v1
with:
command: check
args: --locked --verbose
- name: Check the lints
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests --verbose -- -D warnings