Debian Codegraph @

.github/workflows/main.yml

raw symbols SCIP
1 # This is a basic workflow to help you get started with Actions
2
3 name: CI
4
5 on:
6 workflow_dispatch:
7 push:
8 pull_request:
9
10 jobs:
11 test:
12 runs-on: ubuntu-latest
13 strategy:
14 fail-fast: false
15 matrix:
16 go: ['1.11', '1.12', '1.13', '1.14', '1.15', '1.16', '1.17', '1.18']
17
18 steps:
19 - uses: actions/setup-go@v1
20 with:
21 go-version: ${{ matrix.go }}
22 - uses: actions/checkout@v2
23 - run: go test -v -coverprofile=profile.cov ./...
24
25 - name: Send coverage
26 uses: shogo82148/actions-goveralls@v1
27 with:
28 path-to-profile: profile.cov
29 flag-name: Go-${{ matrix.go }}
30 parallel: true
31
32 # notifies that all test jobs are finished.
33 finish:
34 needs: test
35 runs-on: ubuntu-latest
36 steps:
37 - uses: shogo82148/actions-goveralls@v1
38 with:
39 parallel-finished: true