diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 40aba66e5b..bda0b282f5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 ./...