Skip to content

Commit

Permalink
create versionci.yml for ruby version matrix testing via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oroth8 committed May 2, 2024
1 parent 5234600 commit 14b905c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/versionci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Version CI
on:
pull_request:
push:
branches:
- main
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
bundler-cache: true
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.6.5", "2.7.7", "3.0.5", "3.1.3", "3.2.0", "3.2.2"]
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec

0 comments on commit 14b905c

Please sign in to comment.