Skip to content

Commit

Permalink
Install Ruby before checking format
Browse files Browse the repository at this point in the history
  • Loading branch information
mmainz committed Aug 24, 2023
1 parent 715ae2e commit 509c750
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.2"]
ruby-version: ['3.2']

steps:
- uses: actions/checkout@v2

- name: Setup Node.js 🖲
uses: actions/setup-node@v2.4.0
with:
node-version: 20.x
check-latest: true
- run: npm ci

- name: Check formatting 🔍
run: npm run lint

- name: Setup Ruby 💎
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Check formatting 🔍
run: npm run lint

- name: Run tests ⚙️
run: bundle exec rake

Expand Down

0 comments on commit 509c750

Please sign in to comment.