-
Notifications
You must be signed in to change notification settings - Fork 70
add action to bump .go-version file #669
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
base: main
Are you sure you want to change the base?
Conversation
5ed78f8 to
25b84fc
Compare
25b84fc to
cdacdd7
Compare
jml
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Sorry for the delay in reviewing it.
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| ``` | ||
|
|
||
| ### Advanced Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a sentence or short paragraph saying what the point of this advanced usage is.
|
|
||
| ## Usage | ||
|
|
||
| ### Basic Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a sentence or short paragraph saying what this basic usage gets you. That is, what happens when you run bump-go-version-file like this?
| @@ -0,0 +1,39 @@ | |||
| name: Bump Go Version | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment describing what this workflow does for you at a high level.
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| uses: actions/checkout@v4 | |
| uses: actions/checkout@v6 |
| LATEST=$(curl -s https://go.dev/VERSION?m=text | head -n1 | sed 's/go//') | ||
| echo "latest=$LATEST" >> $GITHUB_OUTPUT | ||
| echo "Latest Go version: $LATEST" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the actionlint here.
No description provided.