Skip to content

Commit

Permalink
Use setup-rust-toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
  • Loading branch information
sticnarf committed Jul 27, 2024
1 parent 7d34536 commit e2dee74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
rust: [stable, beta, nightly]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: clippy
override: true
- name: Clippy
run: |
cargo clippy --all-targets --no-default-features --features=tokio -- -D warnings
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ edition = "2018"
[features]
default = ["tokio"]
tor = []
futures-io = ["dep:futures-io"]

[[example]]
name = "chainproxy"
Expand Down

0 comments on commit e2dee74

Please sign in to comment.