-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from kyoto7250/change_github_actions
use dtolnay/rust-toolchain
- Loading branch information
Showing
3 changed files
with
12 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
Thank you for making zhobo better! | ||
|
||
Here's a checklist for things that will be checked during review or continuous integration. | ||
|
||
- \[ ] Added passing unit tests | ||
- \[ ] `cargo test` passes locally. It takes much time. | ||
- \[ ] Run `cargo fmt` | ||
|
||
Delete this line and everything above before opening your PR. | ||
|
||
- [x] Added passing unit tests | ||
- [x] `cargo test` passes locally. It takes much time. | ||
- [x] Run `cargo fmt` | ||
|
||
--- | ||
|
||
*Please write a short comment explaining your change (or "none" for internal only changes)* | ||
|
||
changelog: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,11 +64,9 @@ jobs: | |
fetch-depth: 1 | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
profile: minimal | ||
override: true | ||
target: ${{ matrix.target }} | ||
|
||
- name: Use Cross | ||
|
@@ -121,7 +119,7 @@ jobs: | |
fi | ||
- name: Publish | ||
uses: softprops/action-gh-release@v1 | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: ${{ env.ASSET }} | ||
env: | ||
|
@@ -135,7 +133,7 @@ jobs: | |
- uses: actions/checkout@v1 | ||
|
||
- name: Install cargo-workspaces | ||
uses: actions-rs/[email protected] | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
crate: cargo-workspaces | ||
|
||
|