From e29acac84523ad34527927f6bc395444f5c1926a Mon Sep 17 00:00:00 2001 From: Ansible Date: Wed, 17 Apr 2024 06:46:04 -0700 Subject: [PATCH] ci: execute in container --- .github/workflows/CI.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c0748f2f..e3c206be 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -60,8 +60,10 @@ jobs: local: strategy: matrix: - os: [ubuntu-20.04, ubuntu-22.04] - runs-on: ${{ matrix.os }} + image: ["ubuntu:20.04", "ubuntu:22.04"] + runs-on: ubuntu-22.04 + container: + image: ${{ matrix.image }} steps: - uses: actions/checkout@v3