From cb63ffc55c5118a83b1a289977371fc2ae0f9332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Tue, 10 Sep 2024 16:50:35 +0200 Subject: [PATCH] disable go tip --- .github/workflows/ci.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f756fe..b576300 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,10 @@ jobs: run: | go version pwd && ls -l - + go install go.k6.io/xk6/cmd/xk6@latest MODULE_NAME=$(go list -m) - + xk6 build \ --output ./k6ext \ --with $MODULE_NAME="." @@ -42,32 +42,16 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.20.x, 1.21.x, tip] + go-version: [1.20.x, 1.21.x] platform: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: - name: Checkout code uses: actions/checkout@v4 - name: Install Go ${{ matrix.go-version }} - if: matrix.go-version != 'tip' uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - name: Install Go stable - if: matrix.go-version == 'tip' - uses: actions/setup-go@v4 - with: - go-version: 1.x - - name: Install Go tip - shell: bash - if: matrix.go-version == 'tip' - run: | - go install golang.org/dl/gotip@latest - gotip download - echo "GOROOT=$HOME/sdk/gotip" >> "$GITHUB_ENV" - echo "GOPATH=$HOME/go" >> "$GITHUB_ENV" - echo "$HOME/go/bin" >> "$GITHUB_PATH" - echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH" - name: Run tests run: | which go