ci: Use GitHub runner based on Ubuntu 22.04

Includes Compose v2. See the full list of included software at
https://github.com/actions/virtual-environments/blob/ubuntu22/20220522.1/images/linux/Ubuntu2204-Readme.md
This commit is contained in:
Antoine Cotten 2022-05-25 22:22:33 +02:00
parent 1557e27bff
commit 9fd8a09f0d
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 2 additions and 12 deletions

View File

@ -11,8 +11,8 @@ jobs:
test:
name: Test suite
# List of supported runners:
# https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources
runs-on: ubuntu-latest
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
@ -26,16 +26,6 @@ jobs:
- name: Prepare environment
run: |
# Enable support for Compose V2
#
# Instructions:
# https://docs.docker.com/compose/cli-command/#install-on-linux
mkdir -p ~/.docker/cli-plugins
curl -sL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64" -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
docker compose version
# Pre-build container images
docker compose \