Skip to content

Correct .goreleaser

Correct .goreleaser #8

Workflow file for this run

name: Pull Request
on: [ pull_request ]
jobs:
build:
name: Pull Request Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
id: go
- name: Cache go module
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build and Test
run: go test -v -race -cover ./...