Skip to content

qa: Clippy fix

qa: Clippy fix #183

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [1.74.1, stable]
include:
- timezone: UTC
- timezone: Europe/Dublin
toolchain: stable
- timezone: Canada/Newfoundland
toolchain: stable
- timezone: Pacific/Kiritimati
toolchain: stable
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test -- --include-ignored
env:
TZ: ${{ matrix.timezone }}
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: rustfmt
- name: Check formatting
uses: actions-rust-lang/rustfmt@v1
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- run: cargo clippy -- -D warnings