From 5bef239cd5b17a5639397568f015535e73708a65 Mon Sep 17 00:00:00 2001 From: Lionel Jouin Date: Thu, 21 Sep 2023 18:39:11 +0200 Subject: [PATCH] Update to golang 1.20.8 Signed-off-by: Lionel Jouin --- .github/workflows/build-and-test.yaml | 2 +- .github/workflows/checkgomod.yaml | 2 +- .github/workflows/cmd-gogenerate.yaml | 2 +- .github/workflows/docker-build-and-test.yaml | 2 +- .github/workflows/docker-push.yaml | 2 +- .github/workflows/golangci-lint.yaml | 2 +- .github/workflows/release-dependent-repositories.yaml | 2 +- .github/workflows/resolve-conflicts.yaml | 2 +- .github/workflows/sdk-gogenerate.yaml | 2 +- .../workflows/update-dependent-repositories-gomod.yaml | 2 +- workflow-templates/cmd-ci.yaml | 10 +++++----- workflow-templates/docker-push.yaml | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 10f9142..1f87e31 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -19,7 +19,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Build run: go build -race ./... - name: Test diff --git a/.github/workflows/checkgomod.yaml b/.github/workflows/checkgomod.yaml index 86b0c60..2f3ca9a 100644 --- a/.github/workflows/checkgomod.yaml +++ b/.github/workflows/checkgomod.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - run: go mod tidy - name: Check for changes in go.mod or go.sum run: | diff --git a/.github/workflows/cmd-gogenerate.yaml b/.github/workflows/cmd-gogenerate.yaml index 810adc4..de51e4d 100644 --- a/.github/workflows/cmd-gogenerate.yaml +++ b/.github/workflows/cmd-gogenerate.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - run: go generate ./... - name: Check for changes run: | diff --git a/.github/workflows/docker-build-and-test.yaml b/.github/workflows/docker-build-and-test.yaml index d99fa25..4ab2d5e 100644 --- a/.github/workflows/docker-build-and-test.yaml +++ b/.github/workflows/docker-build-and-test.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Build container run: docker build . - name: Run tests diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index b1edcd5..52b01f5 100644 --- a/.github/workflows/docker-push.yaml +++ b/.github/workflows/docker-push.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index adeeb4a..c5c15b3 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/release-dependent-repositories.yaml b/.github/workflows/release-dependent-repositories.yaml index a43b4f6..6e4b625 100644 --- a/.github/workflows/release-dependent-repositories.yaml +++ b/.github/workflows/release-dependent-repositories.yaml @@ -32,7 +32,7 @@ jobs: token: ${{ secrets.token }} - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Update ${{ matrix.repository }} locally working-directory: networkservicemesh/${{ matrix.repository }} run: | diff --git a/.github/workflows/resolve-conflicts.yaml b/.github/workflows/resolve-conflicts.yaml index fb5604c..6f44212 100644 --- a/.github/workflows/resolve-conflicts.yaml +++ b/.github/workflows/resolve-conflicts.yaml @@ -49,7 +49,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Update version manually run: | branch=${{ inputs.pr_branch_ref }} diff --git a/.github/workflows/sdk-gogenerate.yaml b/.github/workflows/sdk-gogenerate.yaml index 2068432..86ebfdd 100644 --- a/.github/workflows/sdk-gogenerate.yaml +++ b/.github/workflows/sdk-gogenerate.yaml @@ -12,7 +12,7 @@ jobs: version: '3.8.0' - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Install proto-gen-go run: go install github.com/golang/protobuf/protoc-gen-go@v1.4.2 - name: Install go-syncmap diff --git a/.github/workflows/update-dependent-repositories-gomod.yaml b/.github/workflows/update-dependent-repositories-gomod.yaml index 3d8a150..f5d88b1 100644 --- a/.github/workflows/update-dependent-repositories-gomod.yaml +++ b/.github/workflows/update-dependent-repositories-gomod.yaml @@ -70,7 +70,7 @@ jobs: token: ${{ secrets.token }} - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Update ${{ matrix.repository }} locally working-directory: networkservicemesh/${{ matrix.repository }} run: | diff --git a/workflow-templates/cmd-ci.yaml b/workflow-templates/cmd-ci.yaml index c0633c4..a688fd7 100644 --- a/workflow-templates/cmd-ci.yaml +++ b/workflow-templates/cmd-ci.yaml @@ -30,7 +30,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Build run: go build -race ./... @@ -46,7 +46,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - run: go mod tidy - name: Check for changes run: | @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - run: go generate ./... - name: Check for changes run: | @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Build container run: docker build . - name: Run tests diff --git a/workflow-templates/docker-push.yaml b/workflow-templates/docker-push.yaml index e968e7a..a38f168 100644 --- a/workflow-templates/docker-push.yaml +++ b/workflow-templates/docker-push.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 with: - go-version: 1.20.5 + go-version: 1.20.8 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image