Skip to content

Commit

Permalink
Split GH actions jobs to improve feedback on results
Browse files Browse the repository at this point in the history
  • Loading branch information
waiting-for-dev committed Mar 23, 2022
1 parent f8d23bc commit 2026d91
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,6 @@ on:
branches: [ main ]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop

test:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 2026d91

Please sign in to comment.