lint #1190
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-22.04 | |
steps: | |
- name: checkout OpenDDS | |
uses: actions/checkout@v4 | |
with: | |
path: ${{ env.DDS_ROOT }} | |
- name: checkout ACE_TAO | |
uses: actions/checkout@v4 | |
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 |