orf on addon merge #1
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
on: [push, pull_request] | |
jobs: | |
kodi-addon-checker: | |
runs-on: ubuntu-latest | |
name: Kodi Addon-Checker | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Run Kodi Addon-Checker | |
id: kodi-addon-checker | |
uses: xbmc/[email protected] | |
with: | |
kodi-version: matrix | |
addon-id: ${{ github.event.repository.name }} | |
autopep8: | |
runs-on: ubuntu-latest | |
name: autopep8 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Run autopep8 | |
id: autopep8 | |
uses: peter-evans/autopep8@v2 | |
with: | |
args: --aggressive --diff --exit-code --experimental --max-line-length 173 --recursive resources/lib | |
- name: Fail if autopep8 made changes | |
if: steps.autopep8.outputs.exit-code == 2 | |
run: exit 1 |