Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions .clippy.toml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ on:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
# Each job sets RUSTUP_TOOLCHAIN to the toolchain it tests, since it overrides
# rust-toolchain.toml, which pins the toolchain for check.sh.

jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
env:
RUSTUP_TOOLCHAIN: ${{ matrix.rust }}
strategy:
fail-fast: false
matrix:
Expand All @@ -38,14 +42,19 @@ jobs:
no-std:
name: no_std
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --no-default-features
- run: cargo test --no-default-features

lint:
name: Lint
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -61,6 +70,8 @@ jobs:
msrv:
name: MSRV
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: '1.95'
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.95
Expand All @@ -70,6 +81,8 @@ jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -85,6 +98,8 @@ jobs:
security:
name: Security
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- uses: rustsec/audit-check@v1.4.1
Expand All @@ -94,6 +109,8 @@ jobs:
no-panic:
name: Verify No Panics
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -117,6 +134,8 @@ jobs:
bench-check:
name: Benchmarks Compile
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -126,6 +145,8 @@ jobs:
accuracy:
name: Accuracy Gate
runs-on: ubuntu-latest
env:
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:

env:
CARGO_TERM_COLOR: always
# Overrides rust-toolchain.toml, which pins the toolchain for check.sh.
RUSTUP_TOOLCHAIN: stable

concurrency:
group: publish
Expand Down Expand Up @@ -99,7 +101,7 @@ jobs:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Create GitHub release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ needs.check.outputs.version }}
generate_release_notes: true
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Rust artifacts
target/
Cargo.lock

# IDE
.idea/
Expand Down
Loading
Loading