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

Bye actions-rs #274

Merged
merged 2 commits into from
Jun 24, 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
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: |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[actionlint] reported by reviewdog 🐶
workflow command "set-output" was deprecated. use echo "{name}={value}" >> $GITHUB_OUTPUT instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions [deprecated-commands]

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