run_static_checks.yaml 891 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: Run static checks
  2. concurrency:
  3. group: static-check-${{ github.event_name }}-${{ github.ref }}
  4. cancel-in-progress: true
  5. on:
  6. schedule:
  7. - cron: '0 */6 * * *'
  8. push:
  9. tags:
  10. - v*
  11. - e*
  12. workflow_dispatch:
  13. jobs:
  14. run_static_analysis:
  15. runs-on: self-hosted
  16. strategy:
  17. fail-fast: false
  18. matrix:
  19. include:
  20. - branch: "master"
  21. container: "ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14"
  22. - branch: "main-v4.4"
  23. container: "ghcr.io/emqx/emqx-builder/4.4-4:24.1.5-3-ubuntu20.04"
  24. - branch: "main-v4.3"
  25. container: "emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04"
  26. container: ${{ matrix.container }}
  27. steps:
  28. - uses: actions/checkout@v2
  29. with:
  30. ref: ${{ matrix.branch }}
  31. - name: xref
  32. run: make xref
  33. - name: dialyzer
  34. run: make dialyzer