diff options
author | Florian Wininger <fw.centrale@gmail.com> | 2022-04-12 09:57:02 +0200 |
---|---|---|
committer | Florian Wininger <fw.centrale@gmail.com> | 2022-04-12 11:30:51 +0200 |
commit | 92a245e9e1da23712cecbb3c29a1d75a9602e40a (patch) | |
tree | 4e5c58231dc9c280129398d4b12d5f96b0447fc4 | |
parent | 6b94479cf299a294ba33772f11a668e3826e476e (diff) | |
download | net-ssh-92a245e9e1da23712cecbb3c29a1d75a9602e40a.tar.gz |
Run rubocop on the side
-rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
-rw-r--r-- | .github/workflows/rubocop.yml | 13 |
2 files changed, 13 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe687aa..d0e1572 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,3 @@ jobs: CI: 1 - name: Run test helper test run: bundle exec rake test_test - - name: Rubocop - if: matrix.ruby-version == '3.1.1' - run: bundle exec rubocop --fail-level C -f s diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml new file mode 100644 index 0000000..9e5f727 --- /dev/null +++ b/.github/workflows/rubocop.yml @@ -0,0 +1,13 @@ +name: Rubocop + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Rubocop Linter Action + uses: andrewmcodes/rubocop-linter-action@v3.0.0.rc2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |