feat(rs): add support for CARGO_MANIFEST_DIR env variable in abigen #4
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Unused deps | |
jobs: | |
udeps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Setup nightly toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
profile: minimal | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
with: | |
cache-on-failure: true | |
- name: Install udeps | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-udeps | |
- name: Run udeps | |
uses: actions-rs/cargo@v1 | |
with: | |
command: udeps |