lint.yml 804 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: Lint
  2. on:
  3. push:
  4. branches:
  5. - oldstable
  6. - stable
  7. - testing
  8. - unstable
  9. paths-ignore:
  10. - '**.md'
  11. - '.github/**'
  12. - '!.github/workflows/lint.yml'
  13. pull_request:
  14. branches:
  15. - oldstable
  16. - stable
  17. - testing
  18. - unstable
  19. jobs:
  20. build:
  21. name: Build
  22. runs-on: ubuntu-latest
  23. steps:
  24. - name: Checkout
  25. uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
  26. with:
  27. fetch-depth: 0
  28. - name: Setup Go
  29. uses: actions/setup-go@v5
  30. with:
  31. go-version: ~1.24.10
  32. - name: golangci-lint
  33. uses: golangci/golangci-lint-action@v8
  34. with:
  35. version: latest
  36. args: --timeout=30m
  37. install-mode: binary
  38. verify: false