Skip to content

Commit

Permalink
Use nightly (#756)
Browse files Browse the repository at this point in the history
* Use Rust 1.73

* Use nightly
  • Loading branch information
cnpryer authored Oct 8, 2023
1 parent 0e087a0 commit b5516c6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ env:
PACKAGE_NAME: huak

jobs:
test-and-build:
test-and-build-nightly:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
name: Test and build
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v1
- uses: actions/setup-python@v1
- name: Install huak
Expand All @@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python-version: '3.10'
architecture: ${{ matrix.target }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly
- name: Build wheels
uses: messense/maturin-action@v1
with:
Expand All @@ -73,7 +73,7 @@ jobs:
with:
python-version: '3.10'
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly
- name: Build wheels - universal2
uses: messense/maturin-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
[workspace]
members = ["crates/*"]
resolver = "2"

[workspace.package]
edition = "2021"
rust-version = "1.73"
authors = ["Chris Pryer <[email protected]>"]
license = "MIT"

[workspace.dependencies]
clap = { version = "4.4.2", features = ["cargo", "derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/huak_ops/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "huak_ops"
version = "0.1.0"
version = "0.0.0"
edition = "2021"

[lib]
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 = "nightly"

0 comments on commit b5516c6

Please sign in to comment.