All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 1m51s
DCO action / DCO (pull_request) Successful in 1m57s
Tests and linters / gopls check (pull_request) Successful in 4m16s
Tests and linters / Lint (pull_request) Successful in 4m29s
Tests and linters / Tests with -race (pull_request) Successful in 4m32s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m1s
Tests and linters / Tests (pull_request) Successful in 3m28s
Tests and linters / Staticcheck (pull_request) Successful in 3m43s
Vulncheck / Vulncheck (pull_request) Successful in 1m56s
Build / Build Components (pull_request) Successful in 2m53s
This commit is a part of multi-repo cleanup effort: TrueCloudLab/frostfs-infra#136 Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
651 B
651 B
Updating Golang version
Update go.mod
go mod edit -go=X.Y
Update CI
Change Golang versions for unit test in CI.
There is go
section in .forgejo/workflows/*.yml
files:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
go: [ 'X.Y.x', 'X.Y.x', 'X.Y.x' ]
That section should contain three latest Golang minor versions.
Update docker images
Update all docker files that contain golang
image in ./docker
directory.
Update Makefile
Update GO_VERSION
variable in ./Makefile
.
Apply language changes
Open PR that fixes/updates repository's code according to language improvements.