Skip to content

Commit

Permalink
bump go to v1.22 (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso authored Feb 22, 2024
1 parent 032cd88 commit f8bf05f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/auto-fork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ jobs:

steps:

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
- uses: knative/actions/setup-go@main

- name: Install Dependencies
run: go install knative.dev/toolbox/buoy@main
Expand All @@ -66,7 +63,7 @@ jobs:
SLACK_ICON: http://github.com/knative-automation.png?size=48
SLACK_USERNAME: knative-automation
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: 'productivity'
SLACK_CHANNEL: 'knative-productivity'
SLACK_COLOR: '#8E1600'
MSG_MINIMAL: 'true'
SLACK_TITLE: Auto-fork ${{ matrix.org }} failed.
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/update-nightlies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,7 @@ jobs:
assignee: "@knative-extensions/eventing-wg-leads"

steps:
- name: Set up Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- uses: knative/actions/setup-go@main

- name: Install Dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion actions/calculate-matrix/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# TODO: figure out how to template this.
FROM golang:1.21
FROM golang:1.22

RUN go install github.com/bronze1man/yaml2json@latest && apt-get update && apt-get install -y jq

Expand Down
2 changes: 1 addition & 1 deletion actions/update-actions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# TODO: figure out how to template this.
FROM golang:1.21
FROM golang:1.22

RUN go install github.com/bronze1man/yaml2json@latest && apt-get update && apt-get install -y jq

Expand Down
2 changes: 1 addition & 1 deletion actions/update-deps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# TODO: figure out how to template this.
FROM golang:1.21
FROM golang:1.22

RUN go install github.com/google/ko@latest
RUN go install github.com/google/go-licenses@latest
Expand Down
2 changes: 1 addition & 1 deletion actions/update-gofmt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# TODO: figure out how to template this.
FROM golang:1.21
FROM golang:1.22

RUN go install golang.org/x/tools/cmd/goimports@latest

Expand Down
2 changes: 1 addition & 1 deletion actions/update-misspell/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# TODO: figure out how to template this.
FROM golang:1.21
FROM golang:1.22

RUN go install github.com/client9/misspell/cmd/misspell@latest

Expand Down

0 comments on commit f8bf05f

Please sign in to comment.