Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update go to 1.17 #2413

Merged
merged 1 commit into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"GO_VERSION": "1.16",
"GO_VERSION": "1.17",
}
},

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: Build kurl_proxy
env:
Expand All @@ -210,7 +210,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- id: go-cache-paths
run: |
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- id: go-cache-paths
run: |
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- id: go-cache-paths
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: setup env
run: |
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: setup env
run: |
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: setup env
run: |
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: setup env
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: Run Update Script
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- name: Get tags
id: get_tag
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- id: go-cache-paths
run: |
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- id: go-cache-paths
run: |
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- id: go-cache-paths
run: |
Expand Down Expand Up @@ -372,7 +372,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
go-version: '^1.17.4'

- run: sudo apt-get update -y
- run: sudo apt-get -qq -y install gnupg2 libdevmapper-dev libgpgme-dev libc6-dev-i386 btrfs-progs btrfs-tools pkg-config
Expand Down
4 changes: 2 additions & 2 deletions actions/copy-assets/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16 as builder
FROM golang:1.17 as builder
WORKDIR /action
COPY . /action

Expand All @@ -8,4 +8,4 @@ RUN go build -ldflags="-w -s" -v -o copy-assets .

FROM alpine:latest
COPY --from=builder /action/copy-assets /copy-assets
ENTRYPOINT ["/copy-assets"]
ENTRYPOINT ["/copy-assets"]
11 changes: 10 additions & 1 deletion actions/copy-assets/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
module github.com/replicatedhq/kots/actions/copy-assets

go 1.16
go 1.17

require (
github.com/google/go-github/v39 v39.0.0
github.com/pkg/errors v0.9.1
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
)

require (
github.com/golang/protobuf v1.4.2 // indirect
github.com/google/go-querystring v1.1.0 // indirect
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.25.0 // indirect
)