CTHL-5402: coverage #103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: General CI workflow | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| GOPATH: ${{ github.workspace }} | |
| defaults: | |
| run: | |
| working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }} | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.25.5 | |
| - uses: actions/checkout@v2 | |
| with: | |
| path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }} | |
| - name: Install dependencies | |
| run: make install-dependencies | |
| - name: Install tools | |
| run: make install-tools | |
| - name: Install | |
| run: make install | |
| - name: Run go errcheck | |
| run: make ci-errcheck | |
| - name: Run go fmt | |
| run: make ci-gofmt | |
| - name: Run go vet | |
| run: make ci-govet | |
| - name: Run lint | |
| run: make ci-lint | |
| - name: Run test | |
| run: make test-verbose-with-coverage | |
| - name: Run gover | |
| run: gover |