Skip to content

Commit

Permalink
Split linting and specs
Browse files Browse the repository at this point in the history
Run them as separate steps so we see which one actually fails. This also
makes Rakefile non-executable. Unsure why it was to start with, but it
was making Truffle Ruby freak out.
  • Loading branch information
stevenharman committed May 13, 2024
1 parent 035c1cb commit 7b48f8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- name: Install dependencies
run: bundle install

- name: Lint with Rubocop
run: bundle exec rubocop

- name: Run tests
run: bundle exec rake
run: bundle exec rspec

- name: Build gem
run: bundle exec rake build
1 change: 0 additions & 1 deletion Rakefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env rake
# frozen_string_literal: true

require 'bundler/gem_tasks'
Expand Down

0 comments on commit 7b48f8a

Please sign in to comment.