2024-09-25_01-35-02_master-next_python3-botocore #8742
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 --output result.log ${{steps.changes.outputs.bb}} | |
touch result.log | |
cat result.log | |
- name: save test result | |
if: success() || failure() | |
uses: actions/[email protected] | |
with: | |
name: oelint_adv_meta-aws | |
path: result.log | |