Enrich all 610 doc.go files to meet quality floor #658
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| - name: Build | |
| run: CGO_ENABLED=0 go build ./... | |
| - name: Test | |
| run: CGO_ENABLED=0 go test -v ./... | |
| env: | |
| CTX_SKIP_PATH_CHECK: "1" | |
| - name: Vet | |
| run: CGO_ENABLED=0 go vet ./... | |
| dco: | |
| name: DCO | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get PR commits | |
| id: get-pr-commits | |
| uses: tim-actions/get-pr-commits@master | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check DCO sign-off | |
| uses: tim-actions/dco@master | |
| with: | |
| commits: ${{ steps.get-pr-commits.outputs.commits }} | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.26' | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.11.4 | |
| args: --timeout=5m |