-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use taiki-e/install-action to install tools from binary (#852)
- Loading branch information
Showing
2 changed files
with
16 additions
and
7 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 |
---|---|---|
|
@@ -46,11 +46,12 @@ jobs: | |
- name: Check License Header | ||
uses: apache/skywalking-eyes/[email protected] | ||
|
||
- name: Install cargo-sort | ||
run: make install-cargo-sort | ||
|
||
- name: Install taplo-cli | ||
run: make install-taplo-cli | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- name: Check toml format | ||
run: make check-toml | ||
|
||
- name: Cargo format | ||
run: make check-fmt | ||
|
@@ -61,11 +62,19 @@ jobs: | |
- name: Cargo clippy | ||
run: make check-clippy | ||
|
||
- name: Install cargo-sort | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- name: Cargo sort | ||
run: make cargo-sort | ||
run: cargo sort -c -w | ||
|
||
- name: Install cargo-machete | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: cargo-machete | ||
- name: Cargo Machete | ||
run: make cargo-machete | ||
run: cargo machete | ||
|
||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ cargo-machete: install-cargo-machete | |
cargo machete | ||
|
||
install-taplo-cli: | ||
cargo install [email protected].0 | ||
cargo install [email protected].3 | ||
|
||
fix-toml: install-taplo-cli | ||
taplo fmt | ||
|