From 802d8edfcdd15a294b00a8755e4abd9c771b770b Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Mon, 19 Jun 2023 14:39:06 +0100 Subject: [PATCH] move CI gas report to tests, since it'll be cached --- .github/workflows/build.yml | 6 ------ .github/workflows/test.yml | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e71a70e90..a7c94549f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,3 @@ jobs: - name: Outdated files, run `pnpm build` and commit them uses: ./.github/actions/require-empty-diff - - - name: Generate gas reports - run: pnpm gas-report - - - name: Outdated files, run `pnpm gas-report` and commit them - uses: ./.github/actions/require-empty-diff diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 052f0768b0..939a09e004 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,12 @@ jobs: - name: Run tests run: pnpm test + - name: Generate gas reports + run: pnpm gas-report + + - name: Outdated files, run `pnpm gas-report` and commit them + uses: ./.github/actions/require-empty-diff + - name: Lint run: pnpm lint