Skip to content

Commit 0769f5c

Browse files
committed
CI: Set Ruby version in Sorbet job
1 parent 50aa489 commit 0769f5c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ name: CI
22

33
on: [pull_request]
44

5+
env:
6+
SORBET_RUBY: 3.4
7+
58
jobs:
69
test:
710
runs-on: ubuntu-latest
811
strategy:
912
matrix:
10-
ruby-version: [head, 3.4, 3.3, 3.2]
13+
ruby-version: [head, ${{ env.SORBET_RUBY }}, 3.3, 3.2]
1114
fail-fast: false
1215
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
1316
steps:
@@ -26,6 +29,7 @@ jobs:
2629
fetch-depth: ${{ env.REPO_FETCH_DEPTH }}
2730
- uses: ruby/setup-ruby@v1
2831
with:
32+
ruby-version: ${{ env.SORBET_RUBY }}
2933
bundler-cache: true
3034
- name: Sorbet
3135
run: bundle exec srb typecheck

0 commit comments

Comments
 (0)