Port py checks changes (#12826)
* Run py checks on changes to yaml * Try using setup-python@v4 * Use ubuntu20.04
This commit is contained in:
parent
cb6b1fe56f
commit
a466b3fea6
|
|
@ -6,13 +6,15 @@ on:
|
|||
paths:
|
||||
- 'src/bindings/python/**'
|
||||
- 'samples/python/**'
|
||||
- '.github/workflows/py_checks.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/bindings/python/**'
|
||||
- 'samples/python/**'
|
||||
- '.github/workflows/py_checks.yml'
|
||||
jobs:
|
||||
linters:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
@ -121,4 +123,4 @@ jobs:
|
|||
run: python -m bandit -r ./ -f screen
|
||||
working-directory: src/bindings/python/src/compatibility/openvino
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue