Skip to content

Commit

Permalink
ci: pin to macos-13 when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed May 3, 2024
1 parent 6463c42 commit e501241
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "head"]
ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "head"]
exclude:
# I can't figure out how to install these on macos through setup-ruby
- ruby: "2.3"
platform: "macos-latest"
- ruby: "2.4"
platform: "macos-latest"
- ruby: "2.5"
platform: "macos-latest"
runs-on: ${{ matrix.platform }}
steps:
- name: configure git crlf on windows
Expand All @@ -48,7 +56,8 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
# use macos-13 (not 14) because libyaml 0.2.5 doesn't have up-to-date config.guess and config.sub
platform: [ubuntu-latest, windows-latest, macos-13]
ruby: ["3.1"]
runs-on: ${{ matrix.platform }}
steps:
Expand Down

0 comments on commit e501241

Please sign in to comment.