From 9325205ecf8831ed22f24d82e6b690a5a0672787 Mon Sep 17 00:00:00 2001 From: Yuval Leibovich <89763818+yuleib@users.noreply.github.com> Date: Sun, 26 Nov 2023 11:05:20 +0200 Subject: [PATCH] Update go-basic-tests.yaml Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com> --- .github/workflows/go-basic-tests.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go-basic-tests.yaml b/.github/workflows/go-basic-tests.yaml index 8a5d709..e8f1b0b 100644 --- a/.github/workflows/go-basic-tests.yaml +++ b/.github/workflows/go-basic-tests.yaml @@ -71,15 +71,15 @@ jobs: Environment-Test: name: Create cross-platform build # needs: [ Setup-Environment ] - runs-on: ubuntu-20.04 #${{ matrix.os }} + runs-on: ubuntu-latest env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} CGO_ENABLED: ${{ inputs.CGO_ENABLED }} # strategy: # matrix: # os: ${{ fromJSON(needs.Setup-Environment.outputs.matrix) }} steps: - - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -117,7 +117,7 @@ jobs: env: GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} CGO_ENABLED: ${{ inputs.CGO_ENABLED }} runs-on: ubuntu-latest needs: [Check-secret, Environment-Test] @@ -180,7 +180,7 @@ jobs: continue-on-error: true uses: coverallsapp/github-action@v1 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} path-to-lcov: coverage.lcov - name: Comment results to PR