frostfs-node/docs/update-go-instruction.md
Vitaliy Potyarkin ad01fb958a [#1474] Stop using obsolete .github directory
This commit is a part of multi-repo cleanup effort:
TrueCloudLab/frostfs-infra#136

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
2024-11-11 06:44:13 +00:00

34 lines
651 B
Markdown

# 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:
```yaml
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.