Add install-only test job and fix action.yml

This commit is contained in:
CrazyMax 2020-11-06 21:18:48 +01:00
parent 3f5ecc4e17
commit 3d57a20621
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 45 additions and 9 deletions

View file

@ -49,6 +49,36 @@ jobs:
version: ${{ matrix.version }}
args: release --skip-publish --rm-dist
install-only:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- latest
- v0.117.0
steps:
-
name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
-
name: GoReleaser
uses: ./
with:
version: ${{ matrix.version }}
install-only: true
-
name: Check
run: |
goreleaser check --debug
signing:
runs-on: ${{ matrix.os }}
if: github.event_name != 'pull_request'