Skip to content

[Backport styhead-next] 2024-11-05_01-35-33_master-next_aws-crt-cpp #9356

[Backport styhead-next] 2024-11-05_01-35-33_master-next_aws-crt-cpp

[Backport styhead-next] 2024-11-05_01-35-33_master-next_aws-crt-cpp #9356

Workflow file for this run

name: oelint-adv
on:
pull_request:
branches:
- '*-next'
jobs:
oelint-adv:
runs-on: ubuntu-20.04
steps:
- name: install required packages to run oelint_adv
run: |
sudo apt-get -y install python3-pip
sudo pip3 install oelint_adv
- name: checkout meta-aws branch to test
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: get changed bb files
id: changes
run: |
echo "::set-output name=bb::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep .bb | xargs)"
- name: run oelint_adv
if: ${{steps.changes.outputs.bb}}
run: |
oelint-adv --nowarn --noinfo ${{steps.changes.outputs.bb}}