summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormishina <temma182008@gmail.com>2022-07-22 19:05:53 +0900
committerFlorian Wininger <fw.centrale@gmail.com>2022-07-22 16:49:23 +0200
commit0b4889ab767b482e745036ddbe320c7b05058411 (patch)
tree20d5f6fd8c1009590f6901f216c5a62c1c898676
parentdc18e797b2fa5389d1e55263b080985f4645d8b4 (diff)
downloadnet-ssh-0b4889ab767b482e745036ddbe320c7b05058411.tar.gz
andrewmcodes/rubocop-linter-action is deprecated
-rw-r--r--.github/workflows/rubocop.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml
index 9e5f727..46aa3d2 100644
--- a/.github/workflows/rubocop.yml
+++ b/.github/workflows/rubocop.yml
@@ -6,8 +6,11 @@ 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 }}
+ - uses: actions/checkout@v2
+ - name: Set up Ruby 3.1
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: 3.1
+ bundler-cache: true
+ - name: Run RuboCop
+ run: bundle exec rubocop