Skip to content

lint

lint #1451

Workflow file for this run

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