Skip to content

refactor(ci): Remove clippy from windows run #148

refactor(ci): Remove clippy from windows run

refactor(ci): Remove clippy from windows run #148

Workflow file for this run

name: CI
on:
[push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --verbose
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run tests
run: cargo test --verbose