Do a depth-first search through history instead of breadth-first per-file #23
Workflow file for this run
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
name: Cargo Bloat | |
on: [ pull_request ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
cargo_bloat: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
- name: Cache Rust | |
uses: Swatinem/rust-cache@v2 | |
- name: Run cargo bloat | |
# https://github.com/orf/cargo-bloat-action/pull/302 | |
# uses: orf/cargo-bloat-action@v1 | |
uses: Kobzol/cargo-bloat-action@github-actions-cache | |
with: | |
token: ${{ github.token }} |