Skip to content

Commit

Permalink
Use knative/actions/setup-go to be in sync with other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Jun 26, 2024
1 parent 5bf0b86 commit 5c64a77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/go-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
e2e-tests:
strategy:
matrix:
go-version: [ 1.21.x ]
platform: [ ubuntu-latest ]
kind-version: [ 0.14.0 ]

Expand All @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/knative-downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c64a77

Please sign in to comment.