From a3104221c1a4a4f9d325d5f53ead3660181ed138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mali=C5=A1a=20Vu=C4=8Dini=C4=87?= Date: Sat, 2 Nov 2024 17:53:19 +0000 Subject: [PATCH] ci: Add a first draft of the CI cargo bloat tool --- .github/workflows/bloat.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/bloat.yml 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 }}