Merge pull request #6612 from zmstone/ci-run-dialyzer-on-slef-hosted

ci: run dialyzer check on self-hosted runner
This commit is contained in:
Zaiming (Stone) Shi 2022-01-03 16:49:46 +01:00 committed by GitHub
commit 9401b3fe49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 16 deletions

View File

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

View File

@ -12,22 +12,6 @@ on:
pull_request: pull_request:
jobs: 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: run_proper_test:
strategy: strategy:
matrix: matrix: