From faf09c7de1ea6c9274ccdba7469bf927e92ebaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 22 Dec 2024 00:40:18 +0100 Subject: [PATCH] feat(ci): generate package size report We should keep it lean c: --- .forgejo/workflows/check.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 2912a0c..f4e299e 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -13,3 +13,16 @@ jobs: - uses: https://git.salame.cl/actions/checkout@v4 - run: nix --version - run: nix flake check --keep-going --verbose --print-build-logs + report-size: + runs-on: nixos + needs: build + steps: + - uses: https://git.salame.cl/actions/checkout@v4 + - run: nix --version + - name: Generate size report + uses: https://git.salame.cl/jalil/nix-flake-outputs-size@main + with: + comment-on-pr: ${{ github.ref_name != 'main' }} + generate-artifact: ${{ github.ref_name == 'main' }} + do-comparison: true + job-name: report-size -- 2.47.0