Skip to content

Commit

Permalink
actions: use go-version-file: .go-version (#9698)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 30, 2022
1 parent 58a32d1 commit 1ccbb4a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: .go-version
cache: true
- name: Run tests
run: |-
go test -v ./...
run: go test -v ./...

0 comments on commit 1ccbb4a

Please sign in to comment.