Skip to content

Commit

Permalink
fix(ci): go 1.17 installation
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jul 11, 2022
1 parent fc1e79d commit 3f20232
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/actions/kamel-prepare-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ runs:
uses: actions/setup-go@v2 # Version 2 adds GOBIN to PATH
if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
with:
go-version: 1.16.x
go-version: 1.17.x

- name: (Re-)install kustomize
shell: bash
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Execute Build Tests
uses: ./.github/actions/e2e-build
5 changes: 4 additions & 1 deletion .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Convert input parameters to env vars
shell: bash
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Convert input parameters to env vars
shell: bash
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Convert input parameters to env vars
shell: bash
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/knative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Convert input parameters to env vars
shell: bash
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/openshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- id: prepare-env
name: Prepare Test Environment
uses: ./.github/actions/kamel-prepare-env
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ jobs:
with:
persist-credentials: false
submodules: recursive

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Convert input parameters to env vars
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: 1.17.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/verify-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
# make generate requires Go >=1.17
go-version: 1.17.x
- name: Test generate
shell: bash
Expand Down

0 comments on commit 3f20232

Please sign in to comment.