Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
bump Ruby and only run CI when pushed to master.
  • Loading branch information
dometto authored Jan 11, 2025
1 parent af31316 commit f2f4b49
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: JRuby Build
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:


jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [jruby-9.2.18.0, jruby-head]
ruby: [jruby-9.4.9.0, jruby-head]
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
Expand Down

0 comments on commit f2f4b49

Please sign in to comment.