Skip to content

Feature: Run clippy and format checks in CI and update dependencies #25

Feature: Run clippy and format checks in CI and update dependencies

Feature: Run clippy and format checks in CI and update dependencies #25

Workflow file for this run

name: CI checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
run-ci:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
features: ["", "perf-stats"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --release --features=${{ matrix.features }}
clippy-check:
env:
RUSTFLAGS: "-Dwarnings"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-targets --all-features
check-format:
env:
RUSTFLAGS: "-Dwarnings"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Cargo format
run: cargo fmt --check