Skip to content

Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 #170

Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0

Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 #170

Workflow file for this run

name: test-and-build
on:
pull_request:
paths-ignore:
- 'README.md'
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
with:
go-version: "1.20.x"
- name: Test
run: go test -short -v ./...
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
with:
go-version: "1.20.x"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@3fa32b8bb5620a2c1afe798654bbad59f9da4906
with:
args: --snapshot --skip-sign --skip-validate --skip-publish --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}