Skip to content

Commit

Permalink
Bump versions in CI workflow (#273)
Browse files Browse the repository at this point in the history
Merge pull request 273
  • Loading branch information
ashmaroli committed Sep 22, 2024
1 parent 6a751b2 commit 1f644b9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
fail-fast: false
matrix:
ruby_version:
- 2.5
- 2.7
- 3.0
- "2.7"
- "3.0"
- "3.3"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: "Set up Ruby ${{ matrix.ruby_version }}"
Expand All @@ -41,20 +41,20 @@ jobs:

ghp:
if: "!contains(github.event.commits[0].message, '[ci skip]')"
name: Ruby 2.7 with GitHub Pages Gem
name: Ruby 3.3 with GitHub Pages Gem
runs-on: 'ubuntu-latest'
env:
GH_PAGES: true
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: "Set up Ruby 2.7"
- name: "Set up Ruby 3.3"
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.3
bundler-cache: true
- name: Execute tests
run: bash script/test
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Performance/RedundantEqualityComparisonBlock:
Performance/RedundantSplitRegexpArgument:
Enabled: true

Style/ConcatArrayLiterals:
Exclude:
- 'jekyll-redirect-from.gemspec'
Style/InPatternThen:
Enabled: false
Style/MultilineInPatternThen:
Expand Down
4 changes: 2 additions & 2 deletions jekyll-redirect-from.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler"
spec.add_development_dependency "jekyll-sitemap", "~> 1.0"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.5"
spec.add_development_dependency "rubocop-jekyll", "~> 0.12.0"
spec.add_development_dependency "rubocop-jekyll", "~> 0.13.0"
end

0 comments on commit 1f644b9

Please sign in to comment.