2019-09-22 05:17:07 +00:00
|
|
|
name: ci
|
2019-09-20 20:23:45 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2019-10-04 14:23:35 +00:00
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- releases/*
|
2019-09-20 20:23:45 +00:00
|
|
|
push:
|
2019-10-04 14:23:35 +00:00
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- releases/*
|
2019-09-20 20:23:45 +00:00
|
|
|
|
|
|
|
jobs:
|
2019-09-22 05:17:07 +00:00
|
|
|
ci:
|
2019-09-20 20:23:45 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
2019-09-22 05:17:07 +00:00
|
|
|
fail-fast: false
|
2019-09-20 20:23:45 +00:00
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
- macOS-latest
|
|
|
|
- windows-latest
|
|
|
|
version:
|
|
|
|
- latest
|
|
|
|
- v0.117.0
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-01-19 20:52:29 +00:00
|
|
|
uses: actions/checkout@v2
|
|
|
|
-
|
|
|
|
name: Unshallow
|
|
|
|
run: git fetch --prune --unshallow
|
2019-09-20 20:23:45 +00:00
|
|
|
-
|
|
|
|
name: Set up Go
|
2019-12-24 10:37:15 +00:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
|
|
|
go-version: 1.13.x
|
2019-09-20 20:23:45 +00:00
|
|
|
-
|
|
|
|
name: GoReleaser
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.version }}
|
2019-09-20 21:14:11 +00:00
|
|
|
args: release --skip-publish --rm-dist
|