Skip to content

Update goreleaser/goreleaser-action action to v5 - autoclosed #188

Update goreleaser/goreleaser-action action to v5 - autoclosed

Update goreleaser/goreleaser-action action to v5 - autoclosed #188

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: ["1.17.x", "1.18.x", "1.19.x"]
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Run Tests
run: go test -v -coverprofile=profile.cov ./...
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
flag-name: Go-${{ matrix.go }}
parallel: true
# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true