Skip to content

Commit 9b2f2ef

Browse files
kalbhorclaude
andcommitted
fix: update GitHub Actions workflow to use supported runners
- Update runner from deprecated ubuntu-20.04 to ubuntu-latest - Fix multi-line command syntax in test step - Update GitHub Actions versions: - actions/checkout@v2 → @v4 - actions/setup-go@v2 → @v5 - tj-actions/verify-changed-files@v8.1 → @v20 This fixes the CI pipeline that was stuck waiting for runners. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 11a45a5 commit 9b2f2ef

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,30 @@ jobs:
99
matrix:
1010
go: ["1.21"]
1111

12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313

1414
name: Go ${{ matrix.go }} Tests
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token
2020

2121
- name: Setup Go
22-
uses: actions/setup-go@v2
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version: ${{ matrix.go }}
2525

2626
- name: Verify dependencies
2727
run: go mod verify
2828

2929
- name: Run Test
30-
run: go test -v ./... -covermode=count -coverprofile=coverage.out
30+
run: |
31+
go test -v ./... -covermode=count -coverprofile=coverage.out
3132
go tool cover -func=coverage.out -o=coverage.out
3233
3334
- name: Verify Changed files
34-
uses: tj-actions/verify-changed-files@v8.1
35+
uses: tj-actions/verify-changed-files@v20
3536
id: verify-changed-files
3637
with:
3738
files: README.md

0 commit comments

Comments
 (0)