github.com/fiatjaf/generic-ristretto@v0.0.1/.github/workflows/ci-ristretto-lint.yml (about) 1 name: ci-ristretto-lint 2 on: 3 push: 4 branches: 5 - main 6 pull_request: 7 branches: 8 - main 9 schedule: 10 - cron: "0 * * * *" 11 jobs: 12 go-lint: 13 name: lint 14 runs-on: ubuntu-latest 15 steps: 16 - uses: actions/checkout@v3 17 - name: golang-lint 18 env: 19 # prevent OOM 20 GOGC: 10 21 uses: golangci/golangci-lint-action@v3 22 with: 23 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. 24 version: v1.48 25 only-new-issues: true 26 args: --timeout=10m