ci: add github workflows for static checks

adding a github workflow to run static checks
inside a container.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2020-12-04 11:02:12 +05:30
committed by Madhu Rajanna
parent 11e1eda98b
commit edf6abce99
7 changed files with 92 additions and 67 deletions

15
.github/workflows/mod-check.yaml vendored Normal file
View File

@ -0,0 +1,15 @@
---
name: mod-check
# yamllint disable-line rule:truthy
on:
pull_request:
branches:
- '*'
jobs:
mod-check:
name: mod-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: mod-check
run: CONTAINER_CMD=docker make containerized-test TARGET=mod-check