Skip to content

Commit

Permalink
[CI] Use shared workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
David Crosby committed Dec 25, 2024
1 parent 5e378cb commit ebe74c8
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,5 @@ name: Ruby
permissions:
contents: read
jobs:
test:
name: Ruby ${{ matrix.ruby-version }}
runs-on: ubuntu-latest
env:
BUNDLE_WITH: development
strategy:
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- head
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby-version }}"
bundler-cache: true
- name: Run tests
run: bundle exec rake
rake:
uses: dafyddcrosby/dc-github-actions/.github/workflows/bundle_rake.yml@main

0 comments on commit ebe74c8

Please sign in to comment.