name: ci on: [push, pull_request] jobs: tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: go-version: '^1.18' - run: go version - run: go install github.com/mattn/goveralls@latest - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_RELEASE} env: GOLANGCI_RELEASE: v1.46.2 - run: make build.docker - run: make test - run: make check - run: goveralls -coverprofile=profile.cov -service=github env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}