Skip to content

Commit

Permalink
Chore: test release build
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed May 16, 2022
1 parent a74a710 commit 364d42e
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,22 @@ jobs:
go-version: [1.16.x, 1.17.x, 1.18.x]
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v2
- name: Test
run: go test ./...
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v2
- run: go test ./...

release_test:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.16.x
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v2
- uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --snapshot --rm-dist

0 comments on commit 364d42e

Please sign in to comment.