.github/workflows/rubocop.yml in net-ssh-7.0.1 vs .github/workflows/rubocop.yml in net-ssh-7.1.0.beta1
- old
+ new
@@ -4,10 +4,13 @@
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@v3
+ - 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