From 3006aa67d0fa7c5e938bc0cc37c35f004f306df7 Mon Sep 17 00:00:00 2001 From: Vladislav Byrgazov Date: Tue, 10 Sep 2024 12:06:26 +0500 Subject: [PATCH 1/5] Upgrade to go v1.23.1 Signed-off-by: Vladislav Byrgazov --- .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 73fae7c..5c252cf 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: Build run: go build -race ./... - name: Test diff --git a/.github/workflows/checkgomod.yaml b/.github/workflows/checkgomod.yaml index 7649137..8bae886 100644 --- a/.github/workflows/checkgomod.yaml +++ b/.github/workflows/checkgomod.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 ada3742..d210ece 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 8c1ee58..236c78e 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: Build container run: docker build . - name: Run tests diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index dd82618..71a5b5d 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 b313248..39046c3 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: diff --git a/.github/workflows/release-dependent-repositories.yaml b/.github/workflows/release-dependent-repositories.yaml index 460deae..8482770 100644 --- a/.github/workflows/release-dependent-repositories.yaml +++ b/.github/workflows/release-dependent-repositories.yaml @@ -50,7 +50,7 @@ jobs: token: ${{ secrets.token }} - uses: actions/setup-go@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 f756531..0ae8fc3 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 5e08037..288edd3 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 33fbd87..700488a 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - 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 8fa6255..0224a89 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: Build run: go build -race ./... @@ -46,7 +46,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - run: go mod tidy - name: Check for changes run: | @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - run: go generate ./... - name: Check for changes run: | @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: Build container run: docker build . - name: Run tests diff --git a/workflow-templates/docker-push.yaml b/workflow-templates/docker-push.yaml index 814ce1e..0395983 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@v5 with: - go-version: 1.20.12 + go-version: 1.23.1 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image From 7bb54822b9f2df4054603b4253f4bee085711e08 Mon Sep 17 00:00:00 2001 From: Vladislav Byrgazov Date: Tue, 10 Sep 2024 15:07:06 +0500 Subject: [PATCH 2/5] Configure comments>min-spaces-from-content ci yamllint.yml Signed-off-by: Vladislav Byrgazov --- .ci/yamllint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/yamllint.yml b/.ci/yamllint.yml index 6bf1836..c0fd729 100644 --- a/.ci/yamllint.yml +++ b/.ci/yamllint.yml @@ -9,3 +9,5 @@ rules: truthy: disable # 80 chars should be enough, but don't fail if a line is longer line-length: disable + comments: + min-spaces-from-content: 1 From b45e12b28aba1a57078a32e30c7d98b430781526 Mon Sep 17 00:00:00 2001 From: Vladislav Byrgazov Date: Wed, 16 Oct 2024 13:37:45 +0500 Subject: [PATCH 3/5] Update default golangci-lint version Signed-off-by: Vladislav Byrgazov --- .github/workflows/golangci-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 39046c3..9311cf6 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -6,7 +6,7 @@ on: linter-version: description: version of golangci-lint type: string - default: v1.53.3 + default: v1.60.3 required: false jobs: golangci-lint: From d7d7f888fd7eafdd2593bf04b6eebab8af13a777 Mon Sep 17 00:00:00 2001 From: Vladislav Byrgazov Date: Thu, 17 Oct 2024 10:48:03 +0500 Subject: [PATCH 4/5] Bump ci go- version to 1.23.2 Signed-off-by: Vladislav Byrgazov --- .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 +- .../workflows/release-dependent-repositories.yaml | 2 +- .github/workflows/resolve-conflicts.yaml | 2 +- .github/workflows/sdk-gogenerate.yaml | 2 +- .../update-dependent-repositories-gomod.yaml | 2 +- workflow-templates/cmd-ci.yaml | 12 ++++++------ workflow-templates/docker-push.yaml | 2 +- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 5c252cf..bdfefab 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: Build run: go build -race ./... - name: Test diff --git a/.github/workflows/checkgomod.yaml b/.github/workflows/checkgomod.yaml index 8bae886..51ccbb8 100644 --- a/.github/workflows/checkgomod.yaml +++ b/.github/workflows/checkgomod.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 d210ece..c9fa700 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 236c78e..705b813 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: Build container run: docker build . - name: Run tests diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index 71a5b5d..bc07ce0 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 9311cf6..f92aab5 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: diff --git a/.github/workflows/release-dependent-repositories.yaml b/.github/workflows/release-dependent-repositories.yaml index 8482770..eb97196 100644 --- a/.github/workflows/release-dependent-repositories.yaml +++ b/.github/workflows/release-dependent-repositories.yaml @@ -50,7 +50,7 @@ jobs: token: ${{ secrets.token }} - uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 0ae8fc3..1a569a2 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 288edd3..a7d1d44 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 700488a..37cb13f 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - 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 0224a89..bde9a75 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: Build run: go build -race ./... @@ -46,11 +46,11 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: - version: v1.35.0 + version: v1.60.3 excludeFmtErrorf: name: exclude fmt.Errorf @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - run: go mod tidy - name: Check for changes run: | @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - run: go generate ./... - name: Check for changes run: | @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: Build container run: docker build . - name: Run tests diff --git a/workflow-templates/docker-push.yaml b/workflow-templates/docker-push.yaml index 0395983..fe982e3 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@v5 with: - go-version: 1.23.1 + go-version: 1.23.2 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image From 4b5535f55bf8e97a428793940427d449d3f96bcc Mon Sep 17 00:00:00 2001 From: Vladislav Byrgazov Date: Mon, 11 Nov 2024 18:16:23 +0500 Subject: [PATCH 5/5] Upgrade to go v1.23.3 on ci Signed-off-by: Vladislav Byrgazov --- .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 bdfefab..8d8dafc 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: Build run: go build -race ./... - name: Test diff --git a/.github/workflows/checkgomod.yaml b/.github/workflows/checkgomod.yaml index 51ccbb8..40172d7 100644 --- a/.github/workflows/checkgomod.yaml +++ b/.github/workflows/checkgomod.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 c9fa700..e5cbdf5 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 705b813..4b070ec 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: Build container run: docker build . - name: Run tests diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index bc07ce0..f1a585a 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 f92aab5..f330d49 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: diff --git a/.github/workflows/release-dependent-repositories.yaml b/.github/workflows/release-dependent-repositories.yaml index eb97196..b01b62b 100644 --- a/.github/workflows/release-dependent-repositories.yaml +++ b/.github/workflows/release-dependent-repositories.yaml @@ -50,7 +50,7 @@ jobs: token: ${{ secrets.token }} - uses: actions/setup-go@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 1a569a2..2c52e60 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 a7d1d44..390e5a5 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 37cb13f..043d2df 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - 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 bde9a75..651a3bf 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: Build run: go build -race ./... @@ -46,7 +46,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - run: go mod tidy - name: Check for changes run: | @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - run: go generate ./... - name: Check for changes run: | @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: Build container run: docker build . - name: Run tests diff --git a/workflow-templates/docker-push.yaml b/workflow-templates/docker-push.yaml index fe982e3..465b582 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@v5 with: - go-version: 1.23.2 + go-version: 1.23.3 - name: Build ${NAME}:${GITHUB_SHA::8} image run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime - name: Build ${NAME}:latest image