frostfs-node/docs/update-go-instruction.md
Pavel Karpy 99903e1aba [#1687] Support v1.19 Golang
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-08-22 18:59:57 +03:00

652 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 .github/workflows/go.yaml file:

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.