Update rust (#93)

Reviewed-on: #93
Co-authored-by: phoenix <mail@kundeng.us>
Co-committed-by: phoenix <mail@kundeng.us>
This commit is contained in:
2026-05-03 17:41:40 -04:00
committed by phoenix
parent 7ebffd8dd7
commit e2995fd223
7 changed files with 51 additions and 114 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.94
toolchain: 1.95
components: cargo
- name: Extract Version from Cargo.toml
+5 -5
View File
@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.94
toolchain: 1.95
- run: cargo check
test:
@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.94
toolchain: 1.95
- run: cargo test
fmt:
@@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.94
toolchain: 1.95
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
@@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.94
toolchain: 1.95
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
@@ -58,5 +58,5 @@ jobs:
- uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.94
toolchain: 1.95
- run: cargo build