diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6072a2..42b69f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}" @@ -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 diff --git a/.rubocop.yml b/.rubocop.yml index dc87809..64db333 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -30,6 +30,9 @@ Performance/RedundantEqualityComparisonBlock: Performance/RedundantSplitRegexpArgument: Enabled: true +Style/ConcatArrayLiterals: + Exclude: + - 'jekyll-redirect-from.gemspec' Style/InPatternThen: Enabled: false Style/MultilineInPatternThen: diff --git a/jekyll-redirect-from.gemspec b/jekyll-redirect-from.gemspec index 56ba1e9..713ef0b 100644 --- a/jekyll-redirect-from.gemspec +++ b/jekyll-redirect-from.gemspec @@ -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