Skip to content

Commit

Permalink
Fix ci (maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunchr committed Nov 4, 2024
1 parent 0e90287 commit d5ba115
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: ci
on: push

jobs:
check:
test:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: spec/dummy/Gemfile
strategy:
matrix:
ruby: [3.0, 3.3]
Expand All @@ -21,10 +19,22 @@ jobs:
ruby-version: ${{ matrix.ruby }}

- name: Install Dependencies
run: bundle exec appraisal install

- name: Run linters
run: bundle exec appraisal rails_8 bin/fastcheck
run: bundle exec appraisal install && cd spec/dummy && bundle

- name: Run tests
run: bundle exec appraisal bin/check

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.3

- name: Run linters
run: bin/fastcheck

0 comments on commit d5ba115

Please sign in to comment.