fix: include message in custom check error format #93
Workflow file for this run
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: Testing Go | |
| # Trigger on pushes, PRs (excluding documentation changes), and nightly. | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| schedule: | |
| - cron: 0 0 * * * # daily at 00:00 | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache-dependency-path: go.sum | |
| - name: Install Buf | |
| uses: bufbuild/buf-action@v1 | |
| with: | |
| version: 1.67.0 | |
| setup_only: true | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Generate protoconf | |
| working-directory: test | |
| shell: bash | |
| run: buf generate | |
| - name: Vet | |
| run: go vet ./... | |
| - name: Unittest | |
| run: go test -v -timeout 30m -race ./... -coverprofile=coverage.txt | |
| -covermode=atomic | |
| - name: Run checker | |
| working-directory: test | |
| run: go run . | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: tableauio/checker |