From 894cf0ae65ee1dea3336d5808ff404dfc8299c95 Mon Sep 17 00:00:00 2001 From: Rohit Sanjay Date: Sat, 3 Aug 2024 01:14:34 -0700 Subject: [PATCH] use pinned ubuntu 20.04 --- .github/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bc2b873..e0fa9ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,20 +9,16 @@ on: jobs: build-n-test-n-coverage: name: Build, test and code coverage - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12] - env: - OS: ubuntu-latest - PYTHON: "3.8" - steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -33,7 +29,7 @@ jobs: - name: Run the tests run: tox - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests