Skip to content

Commit

Permalink
test: ci tests pro version (#288)
Browse files Browse the repository at this point in the history
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
caarlos0 and crazy-max committed May 30, 2021
1 parent bbb1d19 commit ac06743
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -26,7 +26,10 @@ jobs:
- windows-latest
version:
- latest
- v0.145.0
- '~> 0.166'
distribution:
- goreleaser
- goreleaser-pro
steps:
-
name: Checkout
Expand All @@ -37,7 +40,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.16
-
name: Check
uses: ./
Expand All @@ -47,8 +50,12 @@ jobs:
workdir: ./test
-
name: GoReleaser
if: ${{ !(github.event_name == 'pull_request' && matrix.distribution == 'goreleaser-pro') }}
uses: ./
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
with:
distribution: ${{ matrix.distribution }}
version: ${{ matrix.version }}
args: release --skip-publish --rm-dist
workdir: ./test
Expand All @@ -60,7 +67,10 @@ jobs:
matrix:
version:
- latest
- v0.145.0
- '~> 0.166'
distribution:
- goreleaser
- goreleaser-pro
steps:
-
name: Checkout
Expand All @@ -71,15 +81,18 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.16
-
name: GoReleaser
if: ${{ !(github.event_name == 'pull_request' && matrix.distribution == 'goreleaser-pro') }}
uses: ./
with:
distribution: ${{ matrix.distribution }}
version: ${{ matrix.version }}
install-only: true
-
name: Check
if: ${{ !(github.event_name == 'pull_request' && matrix.distribution == 'goreleaser-pro') }}
run: |
goreleaser check --debug
Expand All @@ -103,7 +116,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.16
-
name: Import GPG key
id: import_gpg
Expand Down Expand Up @@ -142,7 +155,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.16
-
name: Check
uses: ./
Expand Down

0 comments on commit ac06743

Please sign in to comment.