mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-29 12:45:12 +01:00
1b1f8e5f22
Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
32 lines
524 B
YAML
32 lines
524 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
|
|
- name: Test
|
|
run: go test ./...
|
|
|
|
- name: Run GoReleaser Snapshot
|
|
uses: goreleaser/goreleaser-action@v2
|
|
with:
|
|
version: latest
|
|
args: build --snapshot --rm-dist
|