chore(deps): bump github.com/mattn/go-isatty from 0.0.20 to 0.0.22 #1014
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: Lint | |
| on: | |
| merge_group: | |
| types: [checks_requested] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| golangci: | |
| name: Run golangci-lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 8 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: technote-space/get-diff-action@v6.1.2 | |
| with: | |
| PATTERNS: | | |
| **/*.go | |
| - uses: actions/setup-go@v6 | |
| if: env.GIT_DIFF | |
| with: | |
| go-version: "1.24" | |
| cache: true | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libzmq3-dev pkg-config | |
| - name: golangci-lint main | |
| uses: golangci/golangci-lint-action@v9 | |
| if: env.GIT_DIFF | |
| with: | |
| version: latest | |
| args: --timeout 8m | |
| markdown-lint: | |
| name: markdown-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| # lint only changed files | |
| - uses: tj-actions/changed-files@v47 | |
| id: changed-files | |
| with: | |
| files: "**/*.md" | |
| separator: "," | |
| - uses: DavidAnson/markdownlint-cli2-action@v22 | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| with: | |
| globs: ${{ steps.changed-files.outputs.all_changed_files }} | |
| separator: "," |