Skip to content

Merge pull request #90 from brianbruggeman/dependabot/cargo/dirs-6.0.0 #370

Merge pull request #90 from brianbruggeman/dependabot/cargo/dirs-6.0.0

Merge pull request #90 from brianbruggeman/dependabot/cargo/dirs-6.0.0 #370

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cargo_fmt:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install nightly with rustfmt and clippy
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- name: Style
run: cargo +nightly fmt -- --check
- name: Lint
run: cargo +nightly clippy
- name: Build
run: cargo build
- name: Test
run: cargo test