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

ci: fix sed command in check-go-versions.yml #117

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Mar 26, 2024

See created PR: #127

@cwaldren-ld cwaldren-ld force-pushed the cw/fix-go-version-workflow branch from da3b59a to 9e8bae7 Compare March 26, 2024 17:26
@cwaldren-ld cwaldren-ld force-pushed the cw/fix-go-version-workflow branch from 9e8bae7 to 1026c6a Compare March 26, 2024 17:34
@cwaldren-ld cwaldren-ld added the v7 label Mar 26, 2024
@cwaldren-ld cwaldren-ld marked this pull request as ready for review March 26, 2024 23:48
@cwaldren-ld cwaldren-ld requested a review from a team March 26, 2024 23:48
@@ -25,8 +25,8 @@ jobs:
- name: Parse officially supported Go versions
id: parse
run: |
echo "latest=${{ fromJSON(env.fetch-api-data)[0].latest }}" >> $GITHUB_OUTPUT
echo "penultimate=${{ fromJSON(env.fetch-api-data)[1].latest }}" >> $GITHUB_OUTPUT
Copy link
Contributor Author

@cwaldren-ld cwaldren-ld Mar 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using the full Go versions (like 1.22.1), just grab only the "cycle" (1.22). This is what we want in the docs and in the go.mod.

@cwaldren-ld cwaldren-ld merged commit cb2966f into v7 Mar 27, 2024
17 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/fix-go-version-workflow branch March 27, 2024 21:52
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