From 9ac7871269be25445cfd0b326c85fc7837e0a5b6 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 | 18 ++++++++++++++++++ 1 file changed, 18 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..d9ec1140 --- /dev/null +++ b/.github/workflows/bloat.yml @@ -0,0 +1,18 @@ +name: Bloat size + +on: + push: + branches: [main] + tags: 'v*' + pull_request: + workflow_dispatch: + +jobs: + compute-size: + runs-on: ubuntu-latest + steps: + - name: Run cargo bloat + uses: orf/cargo-bloat-action@v1 + working-directory: examples/lakers-nrf52840 + with: + token: ${{ secrets.GITHUB_TOKEN }}