Skip to content

Commit

Permalink
fix: workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Dec 7, 2023
1 parent 4a60b64 commit 60343f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

permissions:
contents: read
repository-projects: read

concurrency:
group: ci-${{ github.ref }}-tests
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- run: git config --global url.https://oauth2:${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- name: Compile
if: steps.cache-binaries.outputs.cache-hit != 'true' && env.GIT_DIFF
run: |
Expand All @@ -71,7 +72,7 @@ jobs:
check-latest: true
cache: true
cache-dependency-path: go.sum
- run: git config --global url.https://oauth2:${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- uses: technote-space/[email protected]
id: git_diff
with:
Expand Down Expand Up @@ -104,7 +105,7 @@ jobs:
with:
go-version: "1.21"
- uses: actions/checkout@v4
- run: git config --global url.https://oauth2:${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand Down

0 comments on commit 60343f6

Please sign in to comment.