ci(static checks): timed trigger static check

This commit is contained in:
zhanghongtong 2022-01-05 10:20:04 +08:00 committed by Zaiming (Stone) Shi
parent b04d91a356
commit 46eeeb36cc
1 changed files with 26 additions and 10 deletions

View File

@ -5,18 +5,34 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
on: on:
schedule:
- cron: '0 */6 * * *'
push: push:
tags: tags:
- v* - v*
- e* - e*
pull_request: workflow_dispatch:
jobs: jobs:
run_static_analysis: run_static_analysis:
runs-on: self-hosted 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" 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
- name: xref - name: xref
run: make xref run: make xref
- name: dialyzer - name: dialyzer