From 31575a03c1178369280d1134f333b883dddcac13 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 27 May 2022 20:39:53 +0200 Subject: [PATCH] fix runner version --- .github/workflows/qc_checks.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 1177349039..04fa034a20 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -14,6 +14,7 @@ on: env: python_version: 3.9 node_version: 16 + runner_ref: ubuntu-20.04 server_start_sleep: 60 @@ -29,7 +30,7 @@ env: jobs: pep_style: name: Python Style (PEP8) - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} steps: - name: Checkout code @@ -50,7 +51,7 @@ jobs: javascript: name: JS Template Files needs: pep_style - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} steps: - name: Checkout Code @@ -86,7 +87,7 @@ jobs: html: name: HTML Template Files needs: pep_style - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} steps: - name: Checkout Code @@ -117,7 +118,7 @@ jobs: pre-commit: name: pre-commit needs: pep_style - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ env.python_version }} @@ -130,7 +131,7 @@ jobs: python: name: Test inventree-python needs: pre-commit - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} env: wrapper_name: inventree-python @@ -170,7 +171,7 @@ jobs: coverage: name: Tests + Coverage [SQLite] needs: ['javascript', 'html', 'pre-commit'] - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} env: INVENTREE_DB_NAME: ./inventree.sqlite @@ -216,7 +217,7 @@ jobs: postgres: name: Tests [PostgreSQL] needs: ['javascript', 'html', 'pre-commit'] - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} if: github.event_name == 'push' env: @@ -281,7 +282,7 @@ jobs: mysql: name: Tests [MySQL] needs: ['javascript', 'html', 'pre-commit'] - runs-on: ubuntu-latest + runs-on: ${{ runner_ref }} if: github.event_name == 'push' env: