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:
parent
1557e27bff
commit
9fd8a09f0d
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue