Skip to content

Commit

Permalink
Reactivate udeps (#749)
Browse files Browse the repository at this point in the history
* Reactivate udeps

* Cleanup unused deps

* Cleanup unused deps

* Rust cache udeps job

* Increase runner size

---------

Co-authored-by: eyusufatik <[email protected]>
  • Loading branch information
rakanalh and eyusufatik authored Jun 14, 2024
1 parent 1e0e925 commit 329e52e
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 684 deletions.
74 changes: 38 additions & 36 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 329e52e

Please sign in to comment.