Skip to content

update goreleaser

update goreleaser #33

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
cache: true
cache-dependency-path: "server/go.sum"
- name: Test
run: go test -v -race -shuffle=on ./...
- name: Build (Windows)
run: GOOS=windows go build
- name: Build (macOS)
run: GOOS=darwin go build
- name: Build (Linux)
run: GOOS=linux go build