-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dojoengine:main' into 8-index-by-name
- Loading branch information
Showing
62 changed files
with
5,202 additions
and
961 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Unused dependencies | ||
|
||
on: | ||
schedule: | ||
# Triggers the workflow every Sunday | ||
- cron: "0 18 * * 0" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
cargo-udeps: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
issues: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
# cargo-udeps require nightly to run | ||
toolchain: nightly | ||
|
||
- name: Install cargo-udeps | ||
run: cargo install --locked cargo-udeps | ||
|
||
- name: Check for unused dependencies | ||
run: cargo udeps --workspace --all-targets --all-features | ||
|
||
- name: Create github issue for failed action | ||
uses: imjohnbo/issue-bot@v3 | ||
if: ${{ failure() }} | ||
with: | ||
labels: "bug" | ||
title: "ci: Github Action for `cargo-udeps` failed" | ||
body: | | ||
`cargo-udeps` failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
Reference: ${{ github.ref_type }} ${{ github.ref }} (commit ${{ github.sha }}). | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "crates/katana/core/contracts/messaging/solidity/lib/forge-std"] | ||
path = crates/katana/core/contracts/messaging/solidity/lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std |
Oops, something went wrong.