From 5c64a77d59651b099ffd00aba5faf8e6e135c113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20St=C3=A4bler?= Date: Wed, 26 Jun 2024 15:57:44 +0200 Subject: [PATCH] Use knative/actions/setup-go to be in sync with other projects --- .github/workflows/go-test-windows.yaml | 6 ++---- .github/workflows/kind-e2e.yaml | 7 ++----- .github/workflows/knative-downstream.yaml | 4 +--- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index 5ecc70ab..3e85fe94 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -28,10 +28,8 @@ jobs: steps: - - name: Set up Go 1.21 - uses: actions/setup-go@v3 - with: - go-version: 1.21.x + - name: Set up Go + uses: knative/actions/setup-go@main id: go - name: Set git autocrlf to input diff --git a/.github/workflows/kind-e2e.yaml b/.github/workflows/kind-e2e.yaml index a5703aa1..9553635a 100644 --- a/.github/workflows/kind-e2e.yaml +++ b/.github/workflows/kind-e2e.yaml @@ -11,7 +11,6 @@ jobs: e2e-tests: strategy: matrix: - go-version: [ 1.21.x ] platform: [ ubuntu-latest ] kind-version: [ 0.14.0 ] @@ -23,10 +22,8 @@ jobs: KIND_VERSION: ${{ matrix.kind-version }} steps: - - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} + - name: Set up Go + uses: knative/actions/setup-go@main id: go - name: Check out code onto GOPATH diff --git a/.github/workflows/knative-downstream.yaml b/.github/workflows/knative-downstream.yaml index de70bb7a..e96bd644 100644 --- a/.github/workflows/knative-downstream.yaml +++ b/.github/workflows/knative-downstream.yaml @@ -35,9 +35,7 @@ jobs: GOPATH: ${{ github.workspace }} steps: - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.21.x + uses: knative/actions/setup-go@main - name: Install Dependencies run: | go install github.com/google/go-licenses@latest