@@ -0,0 +1,23 @@
+name: Run static checks
+
+concurrency:
+ group: static-check-${{ github.event_name }}-${{ github.ref }}
+ cancel-in-progress: true
+on:
+ push:
+ tags:
+ - v*
+ - e*
+ pull_request:
+jobs:
+ run_static_analysis:
+ runs-on: self-hosted
+ container: "ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14"
+ steps:
+ - uses: actions/checkout@v2
+ - name: xref
+ run: make xref
+ - name: dialyzer
+ run: make dialyzer
@@ -12,22 +12,6 @@ on:
pull_request:
jobs:
- run_static_analysis:
- strategy:
- matrix:
- emqx_builder:
- - 5.0-3:24.1.5-3 # run dialyzer on latest OTP
-
- runs-on: ubuntu-20.04
- container: "ghcr.io/emqx/emqx-builder/${{ matrix.emqx_builder }}-ubuntu20.04"
- steps:
- - uses: actions/checkout@v2
- - name: xref
- run: make xref
- - name: dialyzer
- run: make dialyzer
run_proper_test:
strategy:
matrix: