From 956077c09d55a545d1e9260d1020792924fb6f7e Mon Sep 17 00:00:00 2001 From: Ben Axelrod Date: Tue, 7 Jan 2025 14:04:22 -0500 Subject: [PATCH] pin ubuntu version in workflows Signed-off-by: Ben Axelrod --- .github/workflows/ci.yml | 6 +++--- .github/workflows/maintenance.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3cfe8d92..baefd11fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ concurrency: jobs: lint: name: Lint spot_ros2 packages - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: config: @@ -47,7 +47,7 @@ jobs: uses: pre-commit/action@v3.0.1 prepare_container: name: Prepare Humble container for tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: lint permissions: contents: read @@ -91,7 +91,7 @@ jobs: cache-to: type=gha,mode=max build_and_test_package_and_docs: name: Build and test spot_ros2 packages - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: prepare_container container: image: ${{ needs.prepare_container.outputs.image }} diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 7d3b052fd..f3bf1f4bb 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -12,7 +12,7 @@ env: jobs: clean-ghcr: name: Prune old images from Github Container Registry - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Delete old pull request images uses: snok/container-retention-policy@v2