Skip to content

Commit 4086265

Browse files
authored
chore(deps): bump rust nightly to 2026-01-01 (#92)
* chore(deps): bump rust nightly to 2026-01-01 * chore(deps): update ruint because of RUSTSEC * ci: add rustsec cargo-audit workflow
1 parent ea2a73d commit 4086265

File tree

3 files changed

+52
-17
lines changed

3 files changed

+52
-17
lines changed

.github/workflows/security.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Security
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
push:
7+
branches: [main]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
permissions: {}
13+
14+
jobs:
15+
supply-chain:
16+
name: Run `cargo-audit`
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 30
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
22+
with:
23+
persist-credentials: false
24+
25+
- name: Install Rust toolchain
26+
uses: dtolnay/rust-toolchain@22a6a5b0f9f487c5f5587025ae9d4a1caf2a8a78 # clippy
27+
28+
- name: Rust cache
29+
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
30+
with:
31+
cache-on-failure: true
32+
33+
- name: Install latest cargo-audit from source
34+
run: cargo install cargo-audit --force --locked
35+
36+
- name: Check for audit warnings
37+
run: cargo audit -D warnings
38+
continue-on-error: true
39+
40+
- name: Check for vulnerabilities
41+
run: cargo audit

Cargo.lock

Lines changed: 10 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "nightly-2025-12-01"
2+
channel = "nightly-2026-01-01"
33
components = [
44
"cargo",
55
"clippy",

0 commit comments

Comments
 (0)