github.com/nakabonne/golangci-lint@v1.26.1/.github/workflows/tag.yml (about) 1 --- 2 name: "Release a tag" 3 on: 4 push: 5 tags: 6 - v* 7 jobs: 8 release: 9 runs-on: ubuntu-latest 10 env: 11 GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }} 12 steps: 13 - uses: actions/checkout@v2 14 - name: Install Go 15 uses: actions/setup-go@v1 16 with: 17 go-version: 1.14 18 - name: Unshallow 19 run: git fetch --prune --unshallow 20 - name: Login do docker.io 21 run: docker login -u golangci -p ${{ secrets.GOLANGCI_LINT_DOCKER_TOKEN }} 22 - name: Create release 23 uses: goreleaser/goreleaser-action@v1 24 with: 25 args: release --rm-dist