From 102e9c1df25edb1ea059e3ee4454b8ce50cc02a4 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Fri, 19 Sep 2025 10:26:32 +0200 Subject: [PATCH] ci: pin action to v3 and remove moon's --concurency usage v3 was the action version of the previous base job. We want to do changes one by one, and v4 (current main) does not work without the concurrency change. This just brings the concurrency change that we will need to set the action version to the latest (v4) again. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codspeed.yml | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b26f64db..699e530f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: - name: Run benchmarks with tinybench-plugin # use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2` - uses: CodSpeedHQ/action@main + uses: CodSpeedHQ/action@v3 with: run: pnpm --filter ${{ matrix.example }} bench-tinybench env: @@ -70,7 +70,7 @@ jobs: CODSPEED_DEBUG: true - name: Run benchmarks with benchmark.js-plugin # use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2` - uses: CodSpeedHQ/action@main + uses: CodSpeedHQ/action@v3 with: run: pnpm --filter ${{ matrix.example }} bench-benchmark-js env: diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 1695e38b..d0c77b2d 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -25,10 +25,12 @@ jobs: - name: Run benchmarks # use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2` - uses: CodSpeedHQ/action@main + uses: CodSpeedHQ/action@v3 with: run: | - pnpm moon run --concurrency 1 :bench + pnpm moon run tinybench-plugin:bench + pnpm moon run vitest-plugin:bench + pnpm moon run benchmark.js-plugin:bench pnpm --workspace-concurrency 1 -r bench-tinybench pnpm --workspace-concurrency 1 -r bench-benchmark-js pnpm --workspace-concurrency 1 -r bench-vitest @@ -51,10 +53,11 @@ jobs: - name: Run benchmarks # use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2` - uses: CodSpeedHQ/action@main + uses: CodSpeedHQ/action@v3 with: - # Only tinybench supports walltime for now run: | - pnpm moon run --concurrency 1 :bench + pnpm moon run tinybench-plugin:bench + pnpm moon run vitest-plugin:bench + pnpm moon run benchmark.js-plugin:bench pnpm --workspace-concurrency 1 -r bench-tinybench pnpm --workspace-concurrency 1 -r bench-vitest