Skip to content

Commit

Permalink
Merge pull request #274 from sksat/bye-actions-rs
Browse files Browse the repository at this point in the history
Bye actions-rs
  • Loading branch information
sksat authored Jun 24, 2024
2 parents b53854e + 7d71b2c commit d43755c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
echo -n "::set-output name=toolchain::"
awk -F'[ ="]+' '$1 == "channel" { print $2 }' rust-toolchain
- uses: actions-rs/toolchain@v1.0.7
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ steps.toolchain.outputs.toolchain }}

Expand Down Expand Up @@ -83,10 +83,9 @@ jobs:
- name: remove rust-toolchain for set docs.rs Rust version
run: rm rust-toolchain

- uses: actions-rs/toolchain@v1.0.7
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly-2024-06-23
override: true

- name: check cargo version
run: cargo --version
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
echo -n "::set-output name=toolchain::"
awk -F'[ ="]+' '$1 == "channel" { print $2 }' rust-toolchain
- uses: actions-rs/toolchain@v1.0.7
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ steps.toolchain.outputs.toolchain }}
components: clippy
override: true

- name: cache dependencies
uses: Swatinem/rust-cache@v2.7.3
Expand All @@ -47,11 +46,7 @@ jobs:
clippy_flags: --all-features

- name: unit test
uses: actions-rs/cargo@v1.0.3
with:
command: test
run: cargo test

- name: generate document
uses: actions-rs/cargo@v1.0.3
with:
command: doc
run: cargo doc

0 comments on commit d43755c

Please sign in to comment.