fix: show usage hint for commands with single-word Use field #35
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: [dev] | |
| pull_request: | |
| branches: [dev] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.PAT_TOKEN }} | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24.13" | |
| - name: Configure Git | |
| run: | | |
| git config --global url."https://${{ secrets.PAT_TOKEN }}@github.com/".insteadOf "https://github.com/" | |
| - name: Go mod tidy | |
| run: go mod tidy | |
| - name: Go vet | |
| run: go vet ./... | |
| - name: Go test | |
| run: go test ./... -count=1 -timeout 300s | |
| - name: Go build | |
| run: go build ./... | |
| env: | |
| CGO_ENABLED: 0 |