lint.yml 779 B

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