ci: fix static check group

This commit is contained in:
Zaiming (Stone) Shi 2021-12-31 13:04:23 +01:00
parent 071b03b29c
commit a52d26620f
1 changed files with 9 additions and 15 deletions

View File

@ -1,7 +1,7 @@
name: Run static checks name: Run static checks
concurrency: concurrency:
group: test-${{ github.event_name }}-${{ github.ref }} group: static-check-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
on: on:
@ -13,17 +13,11 @@ on:
jobs: jobs:
run_static_analysis: run_static_analysis:
strategy: runs-on: self-hosted
matrix: container: "ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14"
emqx_builder: steps:
- 5.0-3:24.1.5-3 # run dialyzer on latest OTP - uses: actions/checkout@v2
- name: xref
runs-on: self-hosted run: make xref
container: "ghcr.io/emqx/emqx-builder/${{ matrix.emqx_builder }}-ubuntu20.04" - name: dialyzer
run: make dialyzer
steps:
- uses: actions/checkout@v2
- name: xref
run: make xref
- name: dialyzer
run: make dialyzer