Skip to content

Merge pull request #8 from vossenwout/feature/more-extensions-to-ignore #17

Merge pull request #8 from vossenwout/feature/more-extensions-to-ignore

Merge pull request #8 from vossenwout/feature/more-extensions-to-ignore #17

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: stable
- run: go mod tidy
- run: gofmt -l .
- run: go test ./...
goreleaser:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: stable
- run: go mod tidy
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_ACTION }}