From 29d8f1fd27e72883ac32910731b958f0e40be7ae Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Mon, 22 Mar 2021 09:51:20 -0600 Subject: [PATCH] ci: tests: pin OS version --- .github/workflows/tests.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c3faac83..14b64894 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: code_style: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout capa uses: actions/checkout@v2 @@ -24,7 +24,7 @@ jobs: run: black -l 120 --check . rule_linter: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout capa with rules submodule uses: actions/checkout@v2 @@ -42,7 +42,7 @@ jobs: tests: name: Tests in ${{ matrix.python }} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 needs: [code_style, rule_linter] strategy: fail-fast: false @@ -67,4 +67,3 @@ jobs: run: pip install -e .[dev] - name: Run tests run: pytest tests/ -