diff --git a/.github/workflows/bloat.yml b/.github/workflows/bloat.yml new file mode 100644 index 00000000..6d1121fb --- /dev/null +++ b/.github/workflows/bloat.yml @@ -0,0 +1,19 @@ +name: Bloat size + +on: + push: + branches: [main] + tags: 'v*' + pull_request: + workflow_dispatch: + +jobs: + compute-size: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + - name: Run cargo bloat + uses: orf/cargo-bloat-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}