ci: run dialyzer check on self-hosted runner
This commit is contained in:
parent
54ea7a5871
commit
09cb246f40
|
@ -0,0 +1,29 @@
|
|||
name: Run static checks
|
||||
|
||||
concurrency:
|
||||
group: test-${{ github.event_name }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
- e*
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
run_static_analysis:
|
||||
strategy:
|
||||
matrix:
|
||||
emqx_builder:
|
||||
- 5.0-3:24.1.5-3 # run dialyzer on latest OTP
|
||||
|
||||
runs-on: self-hosted
|
||||
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
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue