Skip to content

Commit eeafa9c

Browse files
authored
Update Rust dependencies and fix Clippy lints (#1879)
1 parent 3cc15e3 commit eeafa9c

17 files changed

Lines changed: 1006 additions & 4579 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
version: 2
22
updates:
3-
- package-ecosystem: cargo
4-
directory: "/data/render"
5-
schedule:
6-
interval: daily
7-
time: "11:00"
8-
open-pull-requests-limit: 10
3+
- package-ecosystem: cargo
4+
directory: "/ci"
5+
schedule:
6+
interval: daily
7+
time: "11:00"
8+
open-pull-requests-limit: 10
9+
- package-ecosystem: github-actions
10+
directory: "/"
11+
schedule:
12+
interval: daily
13+
time: "11:00"
14+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,16 @@ jobs:
5454
fetch-depth: 0
5555

5656
- name: Install Rust toolchain
57-
uses: dtolnay/rust-toolchain@stable
57+
uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
58+
with:
59+
toolchain: 1.98.0
60+
components: clippy
61+
62+
- name: Run Clippy
63+
run: make clippy
64+
65+
- name: Run tests
66+
run: make test
5867

5968
- name: Render list
6069
id: render

.github/workflows/pr-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
echo "files=$FILES" >> "$GITHUB_OUTPUT"
4646
echo "has_files=$( [ -n "$FILES" ] && echo true || echo false )" >> "$GITHUB_OUTPUT"
4747
48-
- name: Skip: no tool files to check
48+
- name: "Skip: no tool files to check"
4949
if: steps.changed.outputs.has_files == 'false'
5050
run: |
5151
mkdir -p pr-check-output
@@ -54,7 +54,9 @@ jobs:
5454
5555
- name: Install Rust toolchain
5656
if: steps.changed.outputs.has_files == 'true'
57-
uses: dtolnay/rust-toolchain@stable
57+
uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
58+
with:
59+
toolchain: 1.98.0
5860

5961
- name: Cache cargo registry
6062
if: steps.changed.outputs.has_files == 'true'

.github/workflows/render.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
- uses: actions/checkout@v4
1818

1919
- name: Install Rust toolchain
20-
uses: dtolnay/rust-toolchain@stable
20+
uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
21+
with:
22+
toolchain: 1.98.0
2123

2224
- name: Render list
2325
run: make render

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ check:
2626
cargo check --manifest-path ci/Cargo.toml
2727

2828
clippy:
29-
cargo clippy --manifest-path ci/Cargo.toml -- -D warnings
29+
cargo clippy --manifest-path ci/Cargo.toml --workspace --all-targets --all-features --locked -- -D warnings
3030

3131
fmt:
3232
cargo fmt --manifest-path ci/Cargo.toml
3333

3434
test:
35-
cargo test --manifest-path ci/Cargo.toml
35+
cargo test --manifest-path ci/Cargo.toml --workspace --all-targets --all-features --locked
3636

3737
clean:
3838
cargo clean --manifest-path ci/Cargo.toml

0 commit comments

Comments
 (0)