Add .gitea/workflows/code-quality.yaml
parent
2d3f1806f3
commit
f171a12aa7
|
@ -0,0 +1,12 @@
|
||||||
|
name: Code Quality Test
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
Quality-Check:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Check for os.system (#2)
|
||||||
|
- run: |
|
||||||
|
git ls-files | xargs grep os.system
|
||||||
|
exit $(git ls-files | xargs grep os.system | wc -l)
|
Loading…
Reference in New Issue