Skip to content

Commit

Permalink
Merge pull request #5729 from bk2204/ci-fix-go-macos
Browse files Browse the repository at this point in the history
.github/workflows: use actions/setup-go everywhere
  • Loading branch information
bk2204 committed May 2, 2024
2 parents 310d1b4 + a628027 commit 93afe4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
if: ${{ github.ref_type == 'tag' }}
- run: git clone -b master https://github.com/git/git.git "$HOME/git"
Expand All @@ -150,6 +153,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
if: ${{ github.ref_type == 'tag' }}
- run: git clone -b v2.0.0 https://github.com/git/git.git "$HOME/git"
Expand Down

0 comments on commit 93afe4d

Please sign in to comment.