Skip to content

Commit

Permalink
Run CI builds in Ubuntu 18.04 container to use Python 2
Browse files Browse the repository at this point in the history
Latest Ubuntu versions don't provide it any more.
  • Loading branch information
vadz committed Jan 8, 2024
1 parent ec88cf7 commit bfc3b95
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
# We need to use an OLS old enough to still have Python 2
container: ubuntu:18.04

steps:
- name: Check out
uses: actions/checkout@v2
- name: Set up
run: |
apt-get update -qq
apt-get install -qq git make python2
- name: Set up Python 2.7
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Check out
uses: actions/checkout@v3

- name: Install dependencies
run: |
Expand Down

0 comments on commit bfc3b95

Please sign in to comment.