Skip to content

[Backport kirkstone-next] 2024-11-26_01-35-44_master-next_aws-sdk-cpp #9610

[Backport kirkstone-next] 2024-11-26_01-35-44_master-next_aws-sdk-cpp

[Backport kirkstone-next] 2024-11-26_01-35-44_master-next_aws-sdk-cpp #9610

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}}