Skip to content

Commit a892c70

Browse files
committed
- Add stable Go (1.23.x) setup before gotip installation
- Run make install-test-tools with stable Go to prevent tool build failures - Install gotip after tools are built- Use gotip only for running unit tests
1 parent 7138ec4 commit a892c70

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci-unit-tests-go-tip.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,20 @@ jobs:
2626

2727
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828

29-
- name: Install Go Tip
30-
uses: ./.github/actions/setup-go-tip
29+
- name: Set up stable Go for tools
30+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3131
with:
32-
gh_token: ${{ secrets.GITHUB_TOKEN }}
32+
go-version: '1.23.x'
3333

3434
- name: Install test deps
3535
# even though the same target runs from test-ci, running it separately makes for cleaner log in GH workflow
3636
run: make install-test-tools
3737

38+
- name: Install Go Tip
39+
uses: ./.github/actions/setup-go-tip
40+
with:
41+
gh_token: ${{ secrets.GITHUB_TOKEN }}
42+
3843
- name: Run unit tests
3944
run: make test-ci
4045

0 commit comments

Comments
 (0)