Merge pull request #6658 from zmstone/cron-dialyzer-check

ci(static checks): timed trigger static check
This commit is contained in:
Zaiming (Stone) Shi 2022-01-05 18:50:49 +01:00 committed by GitHub
commit 9b7dfc1998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 10 deletions

View File

@ -5,18 +5,34 @@ concurrency:
cancel-in-progress: true
on:
schedule:
- cron: '0 */6 * * *'
push:
tags:
- v*
- e*
pull_request:
workflow_dispatch:
jobs:
run_static_analysis:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
include:
- branch: "master"
container: "ghcr.io/emqx/emqx-builder/5.0-3:24.1.5-3-alpine3.14"
- branch: "main-v4.4"
container: "ghcr.io/emqx/emqx-builder/4.4-4:24.1.5-3-ubuntu20.04"
- branch: "main-v4.3"
container: "emqx/build-env:erl23.2.7.2-emqx-3-ubuntu20.04"
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
- name: xref
run: make xref
- name: dialyzer