Skip to content

Commit

Permalink
gem: use ruby version matrix (#30)
Browse files Browse the repository at this point in the history
* gem: use ruby version matrix

* only use rb 3.4 for codeql

* only use rb 3.4 for codeql
  • Loading branch information
q9f authored Dec 29, 2024
1 parent 9278714 commit 0f70900
Show file tree
Hide file tree
Showing 2 changed files with 5 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
2 changes: 1 addition & 1 deletion .github/workflows/codecl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: github/codeql-action/analyze@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
ruby-version: '3.4'
bundler-cache: true
- name: "Run rufo code formatting checks"
run: |
Expand Down

0 comments on commit 0f70900

Please sign in to comment.