Skip to content

Commit

Permalink
👷 ci: Add github action to validate goreleaser config (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoispag committed Oct 10, 2020
1 parent f4da8a4 commit 4c1deb6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/validate_goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: validate_goreleaser

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
validate_goreleaser:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2.3.3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2.1.3
with:
go-version: 1.15.2

- name: Download GoReleaser
run: |
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
- name: Check goreleaser validity
run: |
./bin/goreleaser check

0 comments on commit 4c1deb6

Please sign in to comment.