Skip to content

Commit

Permalink
Use actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
pioz committed Aug 29, 2024
1 parent 247965c commit cf8c8e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile extension
working-directory: ./ext/chess
run: |
Expand All @@ -41,11 +42,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Rubocop
run: bundle exec rubocop

0 comments on commit cf8c8e8

Please sign in to comment.