Skip to content

Commit ee811fb

Browse files
authored
Release 1.5.3 (#130)
2 parents f1cc0b9 + ca9cff7 commit ee811fb

File tree

15 files changed

+345
-564
lines changed

15 files changed

+345
-564
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,27 @@ concurrency:
1414
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
1515
cancel-in-progress: true
1616

17+
# Make sure CI fails on all warnings, including Clippy lints
18+
env:
19+
RUSTFLAGS: "-Dwarnings"
20+
1721
jobs:
1822
format:
19-
name: Format check
2023
runs-on: ubuntu-latest
2124
steps:
22-
- name: Checkout repository
23-
uses: actions/checkout@v4
24-
25-
- name: Install Rust toolchain
26-
run: rustup toolchain install stable --profile minimal --component rustfmt
27-
25+
- uses: actions/checkout@v4
2826
- name: Run rustfmt
2927
run: cargo fmt --all -- --check
3028

29+
clippy_check:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- name: test
34+
run: cargo --version
35+
- name: Run Clippy
36+
run: cargo clippy --all-targets --all-features
37+
3138
build:
3239
runs-on: ubuntu-latest
3340
outputs:

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"rust-analyzer.check.command": "clippy"
3+
}

0 commit comments

Comments
 (0)