Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ on: [push, pull_request]

name: Basic CI

env:
CARGO_INCREMENTAL: "0"

jobs:
check:
name: cargo check
Expand All @@ -21,8 +24,6 @@ jobs:
if: matrix.os == 'windows-latest'

- name: Check
env:
CARGO_INCREMENTAL: 0
run: |
cargo check --all --all-features

Expand All @@ -44,8 +45,6 @@ jobs:
if: matrix.os == 'windows-latest'

- name: Test
env:
CARGO_INCREMENTAL: 0
run: |
cargo test

Expand All @@ -54,10 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: rustup component add rustfmt
- name: cargo fmt
env:
CARGO_INCREMENTAL: 0
run: |
cargo fmt --all -- --check

Expand All @@ -66,10 +62,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: rustup component add clippy
- name: cargo clippy
env:
CARGO_INCREMENTAL: 0
run: |
cargo clippy --all-targets -- -D warnings

Expand All @@ -80,8 +72,6 @@ jobs:
matrix:
os:
- ubuntu-latest
toolchain:
- nightly
cargo_flags:
- "--all-features"
steps:
Expand All @@ -91,7 +81,6 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
env:
CARGO_INCREMENTAL: 0
RUSTC_BOOTSTRAP: 1
run: |
cargo llvm-cov --all-features --lcov --branch --output-path lcov.info
Expand Down
Loading