Skip to content

Goreleaser enhancements #6

Goreleaser enhancements

Goreleaser enhancements #6

name: goreleaser config test
on:
push:
paths:
- '.goreleaser.yaml'
branches:
- main
tags:
- *

Check failure on line 10 in .github/workflows/ci-goreleaser-config.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-goreleaser-config.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
pull_request:
paths:
- '.goreleaser.yaml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
jobs:
test:
name: Test Goreleaser Config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: "Checkout"
with:
fetch-depth: 0
- uses: actions/setup-go@v5
name: "Set up Go"
with:
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v4
with:
args: check