Skip to content

Commit

Permalink
build: force usage of nightly (#90)
Browse files Browse the repository at this point in the history
* chore: ignore pyenv file

* fix(build): force use of nightly toolchain

* ci: simplify pipeline

* ci: use legacy format for rust-toolchain

rust-toolchain does not support the new rust-toolchain.toml format
actions-rs/toolchain#126
  • Loading branch information
PrettyWood committed Jun 20, 2022
1 parent 90cc850 commit 49d1032
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ jobs:
- uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: nightly
override: true

- id: cache-rust
name: cache rust
Expand Down Expand Up @@ -91,10 +89,9 @@ jobs:
- uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy

Expand Down Expand Up @@ -135,11 +132,9 @@ jobs:
- uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: nightly
override: true

- name: cache rust
uses: Swatinem/rust-cache@v1
Expand Down Expand Up @@ -220,7 +215,6 @@ jobs:
- name: build wheels
uses: messense/maturin-action@v1
with:
rust-toolchain: nightly
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux || 'auto' }}
container: ${{ matrix.container }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.vscode/
/env/
/env*/
.python-version
*.py[cod]
*.egg-info/
build/
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly

0 comments on commit 49d1032

Please sign in to comment.