Skip to content

Commit

Permalink
Add cargo-bloat
Browse files Browse the repository at this point in the history
  • Loading branch information
lablans committed Oct 9, 2023
1 parent 2cf07bc commit dbf260b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/bloat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# taken from: https://github.com/marketplace/actions/cargo-bloat

on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- develop

name: cargo-bloat

jobs:
cargo_bloat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run cargo bloat
uses: orf/cargo-bloat-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
bloat_args: --profile bloat

0 comments on commit dbf260b

Please sign in to comment.