From 6c7eeaaf39119b9372aea0fe6dccc3e1733c0df5 Mon Sep 17 00:00:00 2001 From: Alistair Johnson Date: Sat, 17 Aug 2024 09:12:00 -0400 Subject: [PATCH] update actions to use ubuntu 20.04 and python container --- .github/workflows/mysql.yml | 1 + .github/workflows/psql.yml | 2 +- .github/workflows/sqlite.yml | 6 +----- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index 81ccbc533..dd85b83e3 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -8,6 +8,7 @@ jobs: # only run if PR is approved if: github.event.review.state == 'approved' runs-on: ubuntu-22.04 + container: python:3.10 steps: - name: Check out repository code diff --git a/.github/workflows/psql.yml b/.github/workflows/psql.yml index 4b9d1b00c..e7bf26eaf 100644 --- a/.github/workflows/psql.yml +++ b/.github/workflows/psql.yml @@ -7,7 +7,7 @@ jobs: mimic-iv-psql: # only run if PR is approved if: github.event.review.state == 'approved' - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 container: python:3.10 services: diff --git a/.github/workflows/sqlite.yml b/.github/workflows/sqlite.yml index 5c248c4ba..21fd1fcea 100644 --- a/.github/workflows/sqlite.yml +++ b/.github/workflows/sqlite.yml @@ -8,16 +8,12 @@ jobs: # only run if PR is approved if: github.event.review.state == 'approved' runs-on: ubuntu-20.04 + container: python:3.10 steps: - name: Check out repository code uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - name: Python dependencies run: | pip install pandas