-
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.
* Reactivate udeps * Cleanup unused deps * Cleanup unused deps * Rust cache udeps job * Increase runner size --------- Co-authored-by: eyusufatik <[email protected]>
- Loading branch information
1 parent
1e0e925
commit 329e52e
Showing
7 changed files
with
43 additions
and
684 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 |
---|---|---|
|
@@ -101,42 +101,44 @@ jobs: | |
exit 1 | ||
fi | ||
# udeps: | ||
# name: udeps | ||
# runs-on: ubicloud-standard-4 | ||
# timeout-minutes: 60 | ||
# if: github.event.pull_request.draft == false | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: rui314/setup-mold@v1 | ||
# - name: Install Protoc | ||
# uses: arduino/setup-protoc@v2 | ||
# with: | ||
# version: "23.2" | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# - name: Toolchain | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: nightly | ||
# override: true | ||
# components: rustfmt, clippy | ||
# - name: Install Rust | ||
# run: rustup show && rustup install nightly && rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu # Nightly is needed for our configuration of cargo fmt | ||
# - name: Install cargo-risczero | ||
# uses: taiki-e/install-action@v2 | ||
# with: | ||
# tool: [email protected] | ||
# - name: Install risc0-zkvm toolchain # Use the risc0 cargo extension to install the risc0 std library for the current toolchain | ||
# run: cargo risczero install --version v2024-04-22.0 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# - name: Run cargo-udeps | ||
# env: | ||
# RUSTFLAGS: -A warnings | ||
# uses: aig787/cargo-udeps-action@v1 | ||
# with: | ||
# version: 'latest' | ||
# args: '--workspace --all-features --all-targets' | ||
udeps: | ||
name: udeps | ||
runs-on: ubicloud-standard-8 | ||
timeout-minutes: 60 | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: rui314/setup-mold@v1 | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v2 | ||
with: | ||
version: "23.2" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Install Rust | ||
run: rustup show && rustup install nightly && rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu # Nightly is needed for our configuration of cargo fmt | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Install cargo-risczero | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
- name: Install risc0-zkvm toolchain # Use the risc0 cargo extension to install the risc0 std library for the current toolchain | ||
run: cargo risczero install --version v2024-04-22.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run cargo-udeps | ||
env: | ||
RUSTFLAGS: -A warnings | ||
uses: aig787/cargo-udeps-action@v1 | ||
with: | ||
version: 'latest' | ||
args: '--workspace --all-features --all-targets' | ||
|
||
deny: | ||
runs-on: ubuntu-latest | ||
|
Oops, something went wrong.