Skip to content

Commit

Permalink
Merge #1440
Browse files Browse the repository at this point in the history
1440: Use Rust beta channel to test Cargo sparse index protocol r=messense a=messense

https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html

Will switch back to stable channel once Rust 1.68 is out.

Co-authored-by: messense <messense@icloud.com>
  • Loading branch information
bors[bot] and messense authored Jan 31, 2023
2 parents 3dd42a0 + ef3dba0 commit e484bfc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
generate-matrix:
name: Generate Matrix
Expand Down Expand Up @@ -142,7 +145,7 @@ jobs:
run: pip install cffi
- name: Install python packages
run: pip install virtualenv ziglang~=0.10.0 twine uniffi-bindgen==0.22.0
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@beta
id: rustup
with:
targets: wasm32-wasi # Additional target
Expand Down Expand Up @@ -320,7 +323,7 @@ jobs:
container: quay.io/pypa/${{ matrix.manylinux }}_x86_64
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@beta
id: rustup
# Caching
- name: Cache cargo build
Expand Down Expand Up @@ -397,7 +400,7 @@ jobs:
container: ghcr.io/messense/manylinux2014-cross:aarch64
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@beta
with:
targets: ${{ matrix.platform.target }}
- name: Build wheels
Expand Down Expand Up @@ -434,7 +437,7 @@ jobs:
- 'setup.py'
- 'MANIFEST.in'
- '.github/workflows/test.yml'
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@beta
if: steps.changes.outputs.changed == 'true'
# Caching
- name: Cache cargo build
Expand Down Expand Up @@ -485,7 +488,7 @@ jobs:
container: pyston/pyston:2.3.5
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@beta
id: rustup
with:
targets: wasm32-wasi
Expand Down Expand Up @@ -521,7 +524,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ${{ matrix.platform.apt-packages }}
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@beta
with:
targets: ${{ matrix.platform.target }}
- name: Cache cargo build
Expand Down

0 comments on commit e484bfc

Please sign in to comment.