Skip to content

Commit

Permalink
Fix GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
krmbzds committed Oct 7, 2023
1 parent 23f9ad1 commit 1d5ed80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,32 @@ jobs:
ruby: ["2.7.8", "3.0.6", "3.1.4", "3.2.2"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: StandardRB
continue-on-error: ${{ matrix.experimental }}
run: bundle exec standardrb --parallel --format progress
run: |
bundle install --jobs=$(nproc)
bundle exec standardrb --parallel --format progress
test:
needs: [lint]
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
name: test ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "ubuntu-22.04", "macos-11", "macos-12", "macos-13"]
ruby: ["2.7.8", "3.0.6", "3.1.4", "3.2.2"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Test
continue-on-error: ${{ matrix.experimental }}
run: bundle exec rake
1 change: 1 addition & 0 deletions turkish_id.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "coveralls_reborn"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "standard"
spec.add_development_dependency "standard-rails"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
Expand Down

0 comments on commit 1d5ed80

Please sign in to comment.