Skip to content

Commit

Permalink
ci: Use Ubuntu 20.04 and macOS 12 in CI (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src authored Feb 7, 2023
1 parent 7c6ae97 commit 5986fd1
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
release-image:
runs-on: ubuntu-latest
runs-on: 'ubuntu-20.04'
steps:
- run: |
if [ -z "$TAG" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5986fd1

Please sign in to comment.