[Backport styhead-next] 2024-11-05_01-35-33_master-next_aws-crt-cpp #9356
Workflow file for this run
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: 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}} |