Skip to content

Commit a8affcc

Browse files
committed
ci: improve GitHub Actions workflows for Go test jobs
- Make job names display both the OS and Go version in the workflow matrix - Remove unused Go-related environment variables from test jobs Signed-off-by: appleboy <[email protected]>
1 parent 46bf4d3 commit a8affcc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
go: [stable]
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222
runs-on: ${{ matrix.os }}
23-
name: lint
23+
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
@@ -54,9 +54,6 @@ jobs:
5454
go-build: ~/Library/Caches/go-build
5555
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
5656
runs-on: ${{ matrix.os }}
57-
env:
58-
GO111MODULE: on
59-
GOPROXY: https://proxy.golang.org
6057
steps:
6158
- name: Set up Go ${{ matrix.go }}
6259
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)