From 424f063474296344d5a6b28839833906f5161c97 Mon Sep 17 00:00:00 2001 From: Juan Pablo Tosso Date: Wed, 13 Nov 2024 13:28:52 +0000 Subject: [PATCH] add codecov token (#1215) * add codecov token * use comma instead of plus for tags --- .github/workflows/regression.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 7588613b8..dc3a78d8d 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -52,23 +52,27 @@ jobs: if: ${{ matrix.go-version == '1.22.x' }} with: files: build/coverage.txt - flags: default+${{ matrix.build-flag }} + flags: default,${{ matrix.build-flag }} + token: ${{ secrets.CODECOV_TOKEN }} - name: "Codecov: Examples" uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 if: ${{ matrix.go-version == '1.22.x' }} with: files: build/coverage-examples.txt flags: examples+${{ matrix.build-flag }} + token: ${{ secrets.CODECOV_TOKEN }} - name: "Codecov: FTW" uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 if: ${{ matrix.go-version == '1.22.x' }} with: files: build/coverage-ftw.txt - flags: ftw+${{ matrix.build-flag }} + flags: ftw,${{ matrix.build-flag }} + token: ${{ secrets.CODECOV_TOKEN }} - name: "Codecov: Tinygo" uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 # only if coverage-tinygo.txt exists if: ${{ matrix.go-version == '1.22.x' && hashFiles('build/coverage-tinygo.txt') != '' }} with: files: build/coverage-tinygo.txt - flags: tinygo+${{ matrix.build-flag }} + flags: tinygo,${{ matrix.build-flag }} + token: ${{ secrets.CODECOV_TOKEN }}