Skip to content

Commit

Permalink
Use latest toolchain on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Piturnah committed Apr 25, 2023
1 parent ed98e28 commit 29c61bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Check
run: cargo check
- name: Clippy
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
clippy::too_many_lines,
clippy::missing_errors_doc,
clippy::redundant_closure_for_method_calls,
clippy::module_name_repetitions
clippy::module_name_repetitions,
clippy::let_underscore_untyped
)]

use std::{
Expand Down

0 comments on commit 29c61bb

Please sign in to comment.