-
Notifications
You must be signed in to change notification settings - Fork 95
40 lines (40 loc) · 1.07 KB
/
cmr-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CMR Checks
on:
workflow_dispatch:
push:
branches: [ master, main, feature/**, CMR-**, cmr-**]
pull_request:
branches: [ master, main , features/**, CMR-**, cmr-**]
jobs:
cloc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove non-CMR directories
run: |
rm -rf legacy-migration
rm -rf other
rm -rf system-validation-test
rm -rf tea-config-generator
rm -rf token-service-client
- name: Count Lines of Code (cloc)
uses: djdefi/cloc-action@6
kondo:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Run Kondo Report
id: gen-report
run: ./dev-system/support/run-kondo.sh >> report.log
- name: Show Kondo Report
id: show-report
if: always()
run: cat report.log
- name: Publish Kondo Report
id: pub-report
if: always()
uses: actions/upload-artifact@v4
with:
name: Kondo-Report.txt
path: report.log