forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 965 Bytes
/
lint.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: lint
on:
push:
pull_request:
schedule:
- cron: '0 1 * * SUN'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DDS_ROOT: ${{github.workspace}}/OpenDDS
DOC_ROOT: ${{github.workspace}}/ACE_TAO
ACE_ROOT: ${{github.workspace}}/ACE_TAO/ACE
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout OpenDDS
uses: actions/checkout@v3
with:
path: ${{ env.DDS_ROOT }}
- name: checkout ACE_TAO
uses: actions/checkout@v3
with:
repository: DOCGroup/ACE_TAO
ref: ace6tao2
path: ${{ env.DOC_ROOT }}
- name: Install Perl Dependencies
uses: shogo82148/actions-setup-perl@v1
with:
install-modules: |
YAML
- name: Run lint.pl
run: cd $DDS_ROOT ; perl tools/scripts/lint.pl --color --ace
- name: Run lint_build_and_test.pl
run: perl $DDS_ROOT/.github/workflows/lint_build_and_test.pl