From ef97bd8eaad2a1c6bc24ba9ce8107e15ca52cd08 Mon Sep 17 00:00:00 2001 From: Ben Selwyn-Smith Date: Fri, 17 Jan 2025 12:07:19 +1000 Subject: [PATCH] fix: set problem workflows' OS to ubuntu 22.04 Signed-off-by: Ben Selwyn-Smith --- .github/workflows/_build.yaml | 4 ++-- .github/workflows/_build_docker.yaml | 4 ++-- .github/workflows/codeql-analysis.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/_build.yaml b/.github/workflows/_build.yaml index b850ca7e6..e5807caf8 100644 --- a/.github/workflows/_build.yaml +++ b/.github/workflows/_build.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2022 - 2023, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/. # This is a trusted builder implemented as a reusable workflow that can be called by other @@ -32,7 +32,7 @@ on: permissions: contents: read env: - ARTIFACT_OS: ubuntu-latest # The default OS for release. + ARTIFACT_OS: ubuntu-22.04 # The default OS for release. ARTIFACT_PYTHON: '3.11' # The default Python version for release. PACKAGE_PATH: src/macaron # The relative Python package path to the repo. diff --git a/.github/workflows/_build_docker.yaml b/.github/workflows/_build_docker.yaml index bd0d618e3..d15f79460 100644 --- a/.github/workflows/_build_docker.yaml +++ b/.github/workflows/_build_docker.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2023 - 2024, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2023 - 2025, Oracle and/or its affiliates. All rights reserved. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/. # This is a reuseable workflow to build and test the Docker image. Note that this workflow does not @@ -21,7 +21,7 @@ permissions: jobs: build-docker: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: packages: read steps: diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 8aded2f51..7788407bf 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2022 - 2023, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/. # Run CodeQL over the package. For more configuration options see codeql/codeql-config.yaml @@ -22,7 +22,7 @@ permissions: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: actions: read contents: read