From 5986fd19fb0e2e601d911190929995f6c9e882d8 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Tue, 7 Feb 2023 22:51:12 +0800 Subject: [PATCH] ci: Use Ubuntu 20.04 and macOS 12 in CI (#174) --- .github/workflows/build_gems.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/publish-docker.yml | 2 +- .github/workflows/publish-manual.yml | 2 +- .github/workflows/release.yml | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_gems.yml b/.github/workflows/build_gems.yml index 8a5317cc81..0aa6ef943c 100644 --- a/.github/workflows/build_gems.yml +++ b/.github/workflows/build_gems.yml @@ -6,7 +6,7 @@ jobs: name: 'Build gem' strategy: matrix: - platform: [ubuntu-latest, macos-latest] + platform: ['ubuntu-20.04', 'macos-12'] config: ['debug', 'release'] runs-on: ${{ matrix.platform }} env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 525d13bfc5..6e903a6f23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: 'ubuntu-20.04' steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5b347124e8..09bafdb0db 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: 'ubuntu-20.04' steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 88755314e6..cb724a88b3 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -12,7 +12,7 @@ on: jobs: release-image: - runs-on: ubuntu-latest + runs-on: 'ubuntu-20.04' steps: - run: | if [ -z "$TAG" ]; then diff --git a/.github/workflows/publish-manual.yml b/.github/workflows/publish-manual.yml index 5ac916cc1a..0dbe22655f 100644 --- a/.github/workflows/publish-manual.yml +++ b/.github/workflows/publish-manual.yml @@ -9,7 +9,7 @@ on: jobs: download-and-publish-gems: name: 'Download and publish gems' - runs-on: ubuntu-latest + runs-on: 'ubuntu-20.04' env: TAG: ${{ inputs.tag }} steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 809afc8922..5f6d9a57d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: name: 'Build and upload artifacts' strategy: matrix: - platform: [ubuntu-latest, macos-latest] + platform: ['ubuntu-20.04', 'macos-12'] config: ['debug', 'release'] runs-on: ${{ matrix.platform }} env: @@ -88,7 +88,7 @@ jobs: create-release: name: 'Create release' needs: build-and-upload-artifacts - runs-on: ubuntu-latest + runs-on: 'ubuntu-20.04' steps: - uses: actions/checkout@v3 - name: Create Release