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

fix: add support for testing minimum Go version #172

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Aug 19, 2024

(Port from v7.)

This PR relaxes the minimum compiler version to 1.18, as the only new feature we were using was the standard library slices package. This can be replaced with x/exp/slices.

To test the minimum version, I've added a new key/value to go-versions.env. This version is now tested in CI, and can be easily bumped using make bump-min-go-version MIN_GO_VERSION=foo.

Finally, I've updated our documentation to clarify our support policy.

@cwaldren-ld cwaldren-ld added the v6 label Aug 19, 2024
@cwaldren-ld cwaldren-ld requested a review from a team as a code owner August 19, 2024 18:18
@cwaldren-ld cwaldren-ld changed the title ci: add support for testing minimum Go version fix: add support for testing minimum Go version Aug 20, 2024
@cwaldren-ld cwaldren-ld merged commit 37483bc into v6 Aug 20, 2024
15 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/sc-253487/min-go-version-v6 branch August 20, 2024 00:36
cwaldren-ld pushed a commit that referenced this pull request Aug 20, 2024
🤖 I have created a release *beep* *boop*
---


##
[6.2.1](v6.2.0...v6.2.1)
(2024-08-20)


### Bug Fixes

* add support for testing minimum Go version
([#172](#172))
([37483bc](37483bc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants