diff --git a/.github/workflows/azwi-build.yaml b/.github/workflows/azwi-build.yaml index 972af0e99..69e60f0b5 100644 --- a/.github/workflows/azwi-build.yaml +++ b/.github/workflows/azwi-build.yaml @@ -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 diff --git a/.github/workflows/azwi-e2e.yaml b/.github/workflows/azwi-e2e.yaml index 450e5f7ae..fda9b52c9 100644 --- a/.github/workflows/azwi-e2e.yaml +++ b/.github/workflows/azwi-e2e.yaml @@ -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" @@ -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 diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index bb9e2fdb6..bb2a34c3a 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -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 diff --git a/.github/workflows/create-release-pull-request.yaml b/.github/workflows/create-release-pull-request.yaml index 28ae21346..906448f8c 100644 --- a/.github/workflows/create-release-pull-request.yaml +++ b/.github/workflows/create-release-pull-request.yaml @@ -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 }}" diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index e4e22c5f4..0ff13799f 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index c9a5382ed..8c5cd4f53 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,6 @@ run: deadline: 20m + go-version: "1.20" linters: disable-all: true diff --git a/docker/proxy.Dockerfile b/docker/proxy.Dockerfile index 207df83eb..283876cd8 100644 --- a/docker/proxy.Dockerfile +++ b/docker/proxy.Dockerfile @@ -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 diff --git a/docker/webhook.Dockerfile b/docker/webhook.Dockerfile index fc296d3e9..2c874390b 100644 --- a/docker/webhook.Dockerfile +++ b/docker/webhook.Dockerfile @@ -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 diff --git a/docs/book/src/development.md b/docs/book/src/development.md index 1c9a7a249..00eabfa2f 100644 --- a/docs/book/src/development.md +++ b/docs/book/src/development.md @@ -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. diff --git a/examples/azure-identity/go/Dockerfile b/examples/azure-identity/go/Dockerfile index b1aedc1d0..45a603cde 100644 --- a/examples/azure-identity/go/Dockerfile +++ b/examples/azure-identity/go/Dockerfile @@ -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 diff --git a/examples/azure-identity/go/windows.Dockerfile b/examples/azure-identity/go/windows.Dockerfile index 96b151ab3..64b61e16a 100644 --- a/examples/azure-identity/go/windows.Dockerfile +++ b/examples/azure-identity/go/windows.Dockerfile @@ -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} diff --git a/examples/msal-go/Dockerfile b/examples/msal-go/Dockerfile index 90316b1b8..3adca5228 100644 --- a/examples/msal-go/Dockerfile +++ b/examples/msal-go/Dockerfile @@ -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 diff --git a/examples/msal-go/windows.Dockerfile b/examples/msal-go/windows.Dockerfile index 4a4a6317a..25ff8c183 100644 --- a/examples/msal-go/windows.Dockerfile +++ b/examples/msal-go/windows.Dockerfile @@ -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}