Skip to content

Commit

Permalink
Merge branch 'master' into remove-travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-nichter committed Dec 3, 2022
2 parents b67596a + e407b4f commit 8f40d09
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions .github/workflows/go.yml
Expand Up @@ -10,34 +10,40 @@ on:
branches: [ "master" ]

jobs:
test_go118:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.19'
- '1.18'
- '1.17'
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: ${{ matrix.go }}

- name: Build
run: go build -v
run: go build

- name: Test
run: go test -v
run: go test -v -coverprofile=profile.cov

test_go119:
- name: coveralls.io
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
flag-name: Go-${{ matrix.go }}
parallel: true

finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Build
run: go build -v

- name: Test
run: go test -v
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true

0 comments on commit 8f40d09

Please sign in to comment.