Skip to content

Commit

Permalink
actions: use go-version-file: .go-version
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Nov 30, 2022
1 parent 58a32d1 commit 46f2404
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/macos.yml
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 46f2404

Please sign in to comment.