Skip to content

Commit

Permalink
[CI] tweak syntax, bump checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
David Crosby committed Dec 13, 2024
1 parent c9b5e3c commit 5e378cb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
---
name: Ruby
on:
'on':
push:
branches: [ main ]
branches:
- main
pull_request:
branches: [ main ]
branches:
- main
permissions:
contents: read
jobs:
test:
name: Ruby ${{ matrix.ruby-version }}
runs-on: ubuntu-latest
env:
BUNDLE_WITH: development
Expand All @@ -20,11 +24,12 @@ jobs:
- '3.3'
- head
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: "${{ matrix.ruby-version }}"
bundler-cache: true
- name: Run tests
run: bundle exec rake

0 comments on commit 5e378cb

Please sign in to comment.