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:
Alina Kladieva 2022-08-30 14:24:41 +02:00 committed by GitHub
parent cb6b1fe56f
commit a466b3fea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

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