workflows/tests: use Docker image for Ubuntu 20.04

Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
Patrick Linnane 2025-03-04 11:08:52 -08:00
parent 287d8b4021
commit af9a94ebf0
No known key found for this signature in database

View File

@ -242,6 +242,7 @@ jobs:
name: ${{ matrix.name }} name: ${{ matrix.name }}
needs: syntax needs: syntax
runs-on: ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }}
container: ${{ matrix.container }}
strategy: strategy:
matrix: matrix:
include: include:
@ -259,7 +260,8 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
- name: tests (Ubuntu 20.04) - name: tests (Ubuntu 20.04)
test-flags: --coverage test-flags: --coverage
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
container: ghcr.io/homebrew/ubuntu20.04:latest
- name: tests (macOS 13 x86_64) - name: tests (macOS 13 x86_64)
test-flags: --coverage test-flags: --coverage
runs-on: macos-13 runs-on: macos-13
@ -364,12 +366,15 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- name: test default formula (Ubuntu 24.04)
runs-on: ubuntu-latest
container: ghcr.io/homebrew/ubuntu24.04:latest
- name: test default formula (Ubuntu 22.04) - name: test default formula (Ubuntu 22.04)
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/homebrew/ubuntu22.04:master container: ghcr.io/homebrew/ubuntu22.04:master
- name: test default formula (Ubuntu 20.04) - name: test default formula (Ubuntu 20.04)
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/homebrew/ubuntu20.04 container: ghcr.io/homebrew/ubuntu20.04:latest
- name: test default formula (macOS 13 x86_64) - name: test default formula (macOS 13 x86_64)
runs-on: macos-13 runs-on: macos-13
- name: test default formula (macOS 15 arm64) - name: test default formula (macOS 15 arm64)