Download .github/workflows/lint.yml from shimen/API: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/shimen/API/resolve/main/.github/workflows/lint.yml
- Command line
-
hf download hf://spaces/shimen/API/.github/workflows/lint.yml
-
curl -L -o lint.yml https://huggingface.co/spaces/shimen/API/resolve/main/.github/workflows/lint.yml
461 Bytes
| name: Lint | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v6 | |
| with: | |
| version: latest | |
| args: --timeout=5m | |
| only-new-issues: true | |