Skip to content

Commit

Permalink
1.66 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Apr 20, 2024
1 parent 85df382 commit d485803
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,20 @@ on:
pull_request:

env:
rust_toolchain: "1.66.0"
CARGO_TERM_COLOR: always

jobs:
setup-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.rust_toolchain }}
profile: minimal
override: true
test:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ thiserror = "1.0"
once_cell = "1.19.0"

[target.'cfg(unix)'.dependencies]
nix = { version = "0.28.0", features = ["time"] }
nix = { version = "0.27", features = ["time"] }

[features]
#default = [ "full" ]
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.66.0"

0 comments on commit d485803

Please sign in to comment.