ci: run dialyzer check on self-hosted runner

This commit is contained in:
Zaiming (Stone) Shi 2021-12-31 10:08:16 +01:00
parent 54ea7a5871
commit 09cb246f40
2 changed files with 29 additions and 16 deletions

View File

@ -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

View File

@ -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: