Make Go 1.23 as min required version #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| release: | |
| types: [published] | |
| name: Publish | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.23.x | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Get tag | |
| id: tag | |
| uses: dawidd6/action-get-tag@v1 | |
| - run: | | |
| echo "publishing version: ${{steps.tag.outputs.tag}}" | |
| MOD_NAME=$(go list -m) | |
| GOPROXY=proxy.golang.org go list -m $MOD_NAME@${{steps.tag.outputs.tag}} |