Bump up go and golangci-lint version (#52) #26
This file contains 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
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
paths: | |
- 'VERSION' | |
jobs: | |
release: | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v3 | |
- name: Read version | |
run: | | |
echo "version=$(head VERSION)" >> $GITHUB_ENV | |
- name: Create release | |
uses: ncipollo/release-action@v1 | |
with: | |
omitBody: true | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
tag: "${{ env.version }}" | |
commit: "${{ env.GITHUB_SHA }}" |