Skip to content

Commit

Permalink
chore: update to go 1.20 (#840)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase committed Apr 14, 2023
1 parent a2bbdcb commit e3282c3
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azwi-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.20"
- name: Build azwi
run: |
make bin/azwi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/azwi-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.20"
- name: Azure CLI
run: |
echo "Azure CLI Current installed version"
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.20"
- name: Build azwi
run: |
make bin/azwi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "^1.19"
go-version: "^1.20"
- name: Run tests
run: make test
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
ref: "${{ github.event.inputs.based_on_branch }}"
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.20"
- run: make release-manifest
env:
NEW_VERSION: "${{ github.event.inputs.release_version }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.20"
- id: get-tag
name: Get tag
run: echo "tag=$(echo ${{ github.event.pull_request.head.ref }} | sed -e 's/release-//g')" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
run:
deadline: 20m
go-version: "1.20"

linters:
disable-all: true
Expand Down
2 changes: 1 addition & 1 deletion docker/proxy.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.19-bullseye
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye
ARG BASEIMAGE=gcr.io/distroless/static:nonroot

FROM ${BUILDER} as builder
Expand Down
2 changes: 1 addition & 1 deletion docker/webhook.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.19-bullseye
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye
ARG BASEIMAGE=gcr.io/distroless/static:nonroot

# Build the manager binary
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

1. Prerequisites from [Installation][1]
2. Install [go][2]
* Get the latest patch version for go 1.19.
* Get the latest patch version for go 1.20.
3. Install [jq][3]
* `brew install jq` on macOS.
* `chocolatey install jq` on Windows.
Expand Down
2 changes: 1 addition & 1 deletion examples/azure-identity/go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.19-bullseye
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye
ARG BASEIMAGE=gcr.io/distroless/static:nonroot

FROM ${BUILDER} as builder
Expand Down
2 changes: 1 addition & 1 deletion examples/azure-identity/go/windows.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.19-bullseye
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye
ARG SERVERCORE_CACHE=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-${OS_VERSION:-1809}
ARG BASEIMAGE=mcr.microsoft.com/windows/nanoserver:${OS_VERSION:-1809}

Expand Down
2 changes: 1 addition & 1 deletion examples/msal-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.19-bullseye
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye
ARG BASEIMAGE=gcr.io/distroless/static:nonroot

FROM ${BUILDER} as builder
Expand Down
2 changes: 1 addition & 1 deletion examples/msal-go/windows.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.19-bullseye
ARG BUILDER=mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye
ARG SERVERCORE_CACHE=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-${OS_VERSION:-1809}
ARG BASEIMAGE=mcr.microsoft.com/windows/nanoserver:${OS_VERSION:-1809}

Expand Down

0 comments on commit e3282c3

Please sign in to comment.