From 0fce8dafe6621dd4b883955849f1213780828ffd Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Tue, 5 Dec 2023 16:08:18 +0700 Subject: [PATCH 1/2] update go to 1.20.11 Signed-off-by: NikitaSkrynnik --- .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 418293d..fcc76cf 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - name: Build run: go build -race ./... - name: Test diff --git a/.github/workflows/checkgomod.yaml b/.github/workflows/checkgomod.yaml index 8a5b575..e305d56 100644 --- a/.github/workflows/checkgomod.yaml +++ b/.github/workflows/checkgomod.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 ae7e76c..a15c512 100644 --- a/.github/workflows/cmd-gogenerate.yaml +++ b/.github/workflows/cmd-gogenerate.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 67046be..42acc71 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@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - name: Build container run: docker build . - name: Run tests diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index 204110d..385b90e 100644 --- a/.github/workflows/docker-push.yaml +++ b/.github/workflows/docker-push.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 1949190..ad946aa 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 e235297..ca5e862 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 8686e1c..a7c705e 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 66ce54e..9b6dd94 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 9673ef2..aebd8c4 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - 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 4d1f76a..1dda4e5 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@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - name: Build run: go build -race ./... @@ -46,7 +46,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - run: go mod tidy - name: Check for changes run: | @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - run: go generate ./... - name: Check for changes run: | @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - name: Build container run: docker build . - name: Run tests diff --git a/workflow-templates/docker-push.yaml b/workflow-templates/docker-push.yaml index 3a69838..4eb527a 100644 --- a/workflow-templates/docker-push.yaml +++ b/workflow-templates/docker-push.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.8 + go-version: 1.20.11 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image From 9701c79c787eb3bf730c9f5790852a2f23dcfe3a Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Tue, 26 Dec 2023 19:52:26 +1100 Subject: [PATCH 2/2] update to go 1.20.12 Signed-off-by: Nikita Skrynnik --- .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 fcc76cf..307eb0b 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - name: Build run: go build -race ./... - name: Test diff --git a/.github/workflows/checkgomod.yaml b/.github/workflows/checkgomod.yaml index e305d56..00515f7 100644 --- a/.github/workflows/checkgomod.yaml +++ b/.github/workflows/checkgomod.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 a15c512..fcfe2d7 100644 --- a/.github/workflows/cmd-gogenerate.yaml +++ b/.github/workflows/cmd-gogenerate.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 42acc71..04d1333 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@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - name: Build container run: docker build . - name: Run tests diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index 385b90e..ce121cd 100644 --- a/.github/workflows/docker-push.yaml +++ b/.github/workflows/docker-push.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 ad946aa..1cbe9b5 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 ca5e862..b71d6d9 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 a7c705e..37f7ca6 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 9b6dd94..1c389dd 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 aebd8c4..0a441a4 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - 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 1dda4e5..6b97eaf 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@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - name: Build run: go build -race ./... @@ -46,7 +46,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - run: go mod tidy - name: Check for changes run: | @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - run: go generate ./... - name: Check for changes run: | @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - name: Build container run: docker build . - name: Run tests diff --git a/workflow-templates/docker-push.yaml b/workflow-templates/docker-push.yaml index 4eb527a..2570cd6 100644 --- a/workflow-templates/docker-push.yaml +++ b/workflow-templates/docker-push.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: 1.20.11 + go-version: 1.20.12 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image