Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(golint): Update default go version to v1.19.11 #62

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

pmlanger
Copy link
Contributor

@pmlanger pmlanger commented Aug 3, 2023

The current go versions we specify as default versions for the linter are so very old that they are not even supported any longer. Updating it to golang v1.19, because that is the oldest supported version.

Note that these are the default versions, if there is any case that a service needs to use an older go version, one can overwrite the defaults like this:

    with:
      go-version: "1.20.5"
      golangci-lint-version: "v1.53.2"

(example: https://github.com/Typeform/forms-api/blob/b9383c8234dad5a8c19478ed5e01de5d2a0c5eef/.github/workflows/lint.yaml#L12)

See also https://www.notion.so/typeform/Use-supported-runtime-versions-4336ec1006ca4a9da53c6f57e914296e#fce1c1bce18b4e61b834440907dc0ba9 for some additional information and motivation.

See also https://typeform.slack.com/archives/CPKBRDQPQ/p1691056721928979 for the discussion that triggered this update now.

@pmlanger pmlanger merged commit 10c22ce into main Aug 4, 2023
1 check passed
@pmlanger pmlanger deleted the ARCH-397-update-linter-versions branch August 4, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants