-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SKIP_GUEST_BUILD in udeps * Remove Rust toolchain from web3 tests * Cleanup components and warning
- Loading branch information
Showing
1 changed file
with
4 additions
and
11 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 |
---|---|---|
|
@@ -77,9 +77,6 @@ jobs: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Install cargo-risczero | ||
|
@@ -120,7 +117,6 @@ jobs: | |
- name: Toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
@@ -136,10 +132,12 @@ jobs: | |
uses: dprint/[email protected] | ||
- name: Run lint | ||
run: | | ||
if ! SKIP_GUEST_BUILD=1 make lint ; then | ||
if ! make lint ; then | ||
echo "Linting or formatting errors detected, please run 'make lint-fix' to fix it"; | ||
exit 1 | ||
fi | ||
env: | ||
SKIP_GUEST_BUILD: 1 | ||
|
||
udeps: | ||
name: udeps | ||
|
@@ -172,6 +170,7 @@ jobs: | |
- name: Run cargo-udeps | ||
env: | ||
RUSTFLAGS: -A warnings | ||
SKIP_GUEST_BUILD: 1 | ||
uses: aig787/cargo-udeps-action@v1 | ||
with: | ||
version: "latest" | ||
|
@@ -230,7 +229,6 @@ jobs: | |
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
|
@@ -275,7 +273,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: dtolnay/[email protected] | ||
- uses: dcarbone/install-jq-action@v2 | ||
- name: Download artifact | ||
uses: actions/download-artifact@v3 | ||
|
@@ -303,7 +300,6 @@ jobs: | |
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
|
@@ -368,9 +364,6 @@ jobs: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Toolchain | ||
uses: dtolnay/[email protected] | ||
with: | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Install cargo-risczero | ||
|