Skip to content

Add workflow

Add workflow #1

Workflow file for this run

name: Build + Test
on: push
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Install Vale
run: |
go install github.com/errata-ai/vale/v2/cmd/vale@latest
echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> $BASH_ENV
- name: Run tests
run: |
go test -v ./pkg