Skip to content

Commit

Permalink
Add CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Aug 8, 2023
1 parent 7584333 commit e2e6b6d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 9 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,30 @@ on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ["3.0", "3.1", "3.2", "head"]
include:
- ruby: "head"
experimental: true
runs-on: ${{ matrix.os }}
continue-on-error: ${{ !!matrix.experimental }}
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Check if documentation is up to date
run: bundle exec rake ruby_lsp:check_docs

- name: Typecheck
if: matrix.os != 'windows-latest'
run: bundle exec srb tc

- name: Lint Ruby files
Expand Down
23 changes: 16 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ GEM
marcel (1.0.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.18.1)
mocha (2.1.0)
ruby2_keywords (>= 0.0.5)
Expand All @@ -118,9 +119,8 @@ GEM
net-protocol
netrc (0.11.0)
nio4r (2.5.9)
nokogiri (1.15.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.2-x86_64-linux)
nokogiri (1.15.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.3)
Expand Down Expand Up @@ -206,6 +206,13 @@ GEM
sorbet (0.5.10950)
sorbet-static (= 0.5.10950)
sorbet-runtime (0.5.10950)
sorbet-static (0.5.10950-universal-darwin-14)
sorbet-static (0.5.10950-universal-darwin-15)
sorbet-static (0.5.10950-universal-darwin-16)
sorbet-static (0.5.10950-universal-darwin-17)
sorbet-static (0.5.10950-universal-darwin-18)
sorbet-static (0.5.10950-universal-darwin-19)
sorbet-static (0.5.10950-universal-darwin-20)
sorbet-static (0.5.10950-universal-darwin-21)
sorbet-static (0.5.10950-universal-darwin-22)
sorbet-static (0.5.10950-x86_64-linux)
Expand All @@ -218,8 +225,8 @@ GEM
sorbet-runtime (>= 0.5.9204)
syntax_tree (>= 6.1.1)
thor (>= 0.19.2)
sqlite3 (1.6.3-arm64-darwin)
sqlite3 (1.6.3-x86_64-linux)
sqlite3 (1.6.3)
mini_portile2 (~> 2.8.0)
stringio (3.0.6)
syntax_tree (6.1.1)
prettier_print (>= 1.2.0)
Expand Down Expand Up @@ -250,8 +257,10 @@ GEM
zeitwerk (2.6.8)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin
x64-mingw-ucrt
x64-mingw32
x86_64-darwin
x86_64-linux

DEPENDENCIES
Expand Down

0 comments on commit e2e6b6d

Please sign in to comment.