From a466b3fea6a4aa4189cc09f8a8a60ffb306f9cd7 Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Tue, 30 Aug 2022 14:24:41 +0200 Subject: [PATCH] Port py checks changes (#12826) * Run py checks on changes to yaml * Try using setup-python@v4 * Use ubuntu20.04 --- .github/workflows/py_checks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/py_checks.yml b/.github/workflows/py_checks.yml index faa04cf7868..25db376dd7f 100644 --- a/.github/workflows/py_checks.yml +++ b/.github/workflows/py_checks.yml @@ -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 - \ No newline at end of file +