2021-02-19 10:31:20 +01:00
|
|
|
name: ci
|
2022-05-20 08:13:32 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- 'gh-pages'
|
|
|
|
pull_request:
|
|
|
|
branches-ignore:
|
|
|
|
- 'gh-pages'
|
2021-02-19 10:31:20 +01:00
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
2022-09-09 10:42:45 +02:00
|
|
|
go-version: '^1.19'
|
2021-02-19 10:31:20 +01:00
|
|
|
- run: go version
|
2022-06-01 12:16:11 +02:00
|
|
|
- run: go install github.com/mattn/goveralls@latest
|
2022-09-09 10:42:45 +02:00
|
|
|
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
2021-02-19 10:31:20 +01:00
|
|
|
- run: make build.docker
|
|
|
|
- run: make test
|
|
|
|
- run: make check
|
|
|
|
- run: goveralls -coverprofile=profile.cov -service=github
|
|
|
|
env:
|
|
|
|
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|