diff --git a/.github/workflows/main-benchmark.yml b/.github/workflows/main-benchmark.yml index e7d31ef9f..0fbf8eec8 100644 --- a/.github/workflows/main-benchmark.yml +++ b/.github/workflows/main-benchmark.yml @@ -63,4 +63,4 @@ jobs: uses: actions/cache/save@v4 with: path: ./cache - key: ${{ runner.os }}-benchmark-${{ github.run_id }} \ No newline at end of file + key: ${{ runner.os }}-benchmark-${{ github.run_id }} diff --git a/.github/workflows/pr-test-lint.yml b/.github/workflows/pr-test-lint.yml index a46d51920..33490eb18 100644 --- a/.github/workflows/pr-test-lint.yml +++ b/.github/workflows/pr-test-lint.yml @@ -128,6 +128,24 @@ jobs: name: test-results-cli path: report.xml + go-race: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Import environment variables from file + run: cat ".github/env" >> $GITHUB_ENV + + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: ">=${{ env.golang-version }}" + cache: false + + - name: Run race detector on selected packages + run: make race/go + go-bench: runs-on: ubuntu-latest if: github.ref != 'refs/heads/main'