Skip to content

Commit

Permalink
gem: use ruby version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f committed Dec 29, 2024
1 parent e1766cf commit 09ffff2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.3', '3.4']
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: ${{ matrix.ruby }}
- name: Install Dependencies
run: |
gem install test-unit
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codecl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
language:
- ruby
- c
ruby: ['3.3', '3.4']
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
Expand All @@ -36,7 +37,7 @@ jobs:
uses: github/codeql-action/analyze@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: "Run rufo code formatting checks"
run: |
Expand Down

0 comments on commit 09ffff2

Please sign in to comment.