Skip to content

Commit

Permalink
DEV: move linting to CI workflows, rename workflow from test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
featheredtoast committed Oct 23, 2023
1 parent 467651c commit f280d53
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 29 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: CI

on:
push:
Expand All @@ -7,6 +7,24 @@ on:
pull_request: {}

jobs:
lint:
name: "pups lint"
runs-on: ${{ matrix.os }}
timeout-minutes: 5

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
ruby: ["3.2"]

steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rubocop
test:
name: "pups tests"
runs-on: ${{ matrix.os }}
Expand All @@ -19,7 +37,7 @@ jobs:
ruby: ["3.2"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/lint.yml

This file was deleted.

0 comments on commit f280d53

Please sign in to comment.