diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1352100..50e3881 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,27 +14,15 @@ jobs: matrix: go: - '1.22' - - 'tip' steps: - uses: actions/checkout@v4 - name: Set up Go - if: matrix.go != 'tip' uses: actions/setup-go@v5 with: go-version: '${{ matrix.go }}' check-latest: true - - name: Install Go - if: matrix.go == 'tip' - run: | - curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz - ls -lah gotip.tar.gz - mkdir -p ~/sdk/gotip - tar -C ~/sdk/gotip -xzf gotip.tar.gz - ~/sdk/gotip/bin/go version - echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV - - name: Build run: go build -v ./...