Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using deprecated rust action #366

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ jobs:
python -m pip install --upgrade pip

- name: Set up rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable

- name: Run benchmarks
run: cargo bench
Expand All @@ -62,9 +60,7 @@ jobs:
python -m pip install --upgrade pip

- name: Set up rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies
run: |
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/build-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@ jobs:
fetch-depth: 0

- name: Set up rusts
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy

- name: Set up rust (stable)
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
uses: dtolnay/rust-toolchain@stable

- name: fmt (stable)
run: cargo +stable fmt -- --files-with-diff --check
Expand Down
19 changes: 5 additions & 14 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
python -m pip install --upgrade pip

- name: Set up rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies
run: |
Expand Down Expand Up @@ -169,10 +167,8 @@ jobs:
with:
fetch-depth: 1
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Clippy
run: cargo clippy --all-targets --workspace -- -D warnings
Expand All @@ -194,10 +190,8 @@ jobs:
with:
fetch-depth: 1
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: fmt
run: |
Expand Down Expand Up @@ -230,9 +224,8 @@ jobs:
with:
fetch-depth: 1
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy

- name: build
Expand All @@ -254,9 +247,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- name: Run for coverage
run: |
sudo apt-get update
Expand Down
Loading