Skip to content

Commit 8f7ccee

Browse files
mergify[bot]v1v
andauthored
actions: use go-version-file: .go-version (#9698) (#9700)
see actions/setup-go#295 (cherry picked from commit 1ccbb4a) Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
1 parent 311a5ed commit 8f7ccee

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/macos.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ jobs:
1414
runs-on: macos-latest
1515
steps:
1616
- uses: actions/checkout@v3
17-
- name: Fetch Go version from .go-version
18-
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
1917
- uses: actions/setup-go@v3
2018
with:
21-
go-version: ${{ env.GO_VERSION }}
19+
go-version-file: .go-version
2220
cache: true
2321
- name: Run tests
24-
run: |-
25-
go test -v ./...
22+
run: go test -v ./...

0 commit comments

Comments
 (0)