Skip to content

Commit

Permalink
Upgrade github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
papakvy committed Sep 17, 2024
1 parent 10d49ab commit daa6e74
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/run_rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6 is
uses: actions/setup-ruby@v1
- uses: actions/checkout@v4
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
- uses: actions/cache@v1
- uses: ruby/setup-ruby@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
bundler-cache: true
cache-version: 1
- name: Run Rubocop linter
run: |
gem install bundler
Expand Down

0 comments on commit daa6e74

Please sign in to comment.