From add4dfeed5b1d5aa6028a053c921953f04af825d Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Wed, 20 Sep 2023 17:21:04 +0200 Subject: [PATCH] ci: loadtest PRs against latest releases Leveraging the previously-improved postgrest-loadtest-against introduces loadtesting PRS against latest release as well. --- .github/workflows/loadtest.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/loadtest.yaml b/.github/workflows/loadtest.yaml index de30c6365f..6625d21a73 100644 --- a/.github/workflows/loadtest.yaml +++ b/.github/workflows/loadtest.yaml @@ -23,9 +23,13 @@ jobs: uses: ./.github/actions/setup-nix with: tools: loadtest + - uses: actions-ecosystem/action-get-latest-tag@v1 + id: get-latest-tag + with: + semver_only: true - name: Run loadtest run: | - postgrest-loadtest-against main + postgrest-loadtest-against main ${{ steps.get-latest-tag.outputs.tag }} postgrest-loadtest-report > loadtest/loadtest.md - name: Upload report uses: actions/upload-artifact@v3