diff --git a/.github/workflows/auto-approve-and-merge.yml b/.github/workflows/auto-approve-and-merge.yml index baa04d9..2c7fa07 100644 --- a/.github/workflows/auto-approve-and-merge.yml +++ b/.github/workflows/auto-approve-and-merge.yml @@ -11,7 +11,7 @@ jobs: if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Approve PR - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c21c19e..e12da4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,17 +17,13 @@ jobs: bundle install bundle exec rubocop test: - strategy: - fail-fast: false - matrix: - ruby_version: ["2.7", "3.0"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby_version }} + ruby-version: '3.0' bundler-cache: true - name: Install dependencies run: bundle install diff --git a/Gemfile.lock b/Gemfile.lock index 2d4929d..c9c8a78 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - erblint-github (0.5.1) + erblint-github (1.0.0) GEM remote: https://rubygems.org/ @@ -18,7 +18,6 @@ GEM minitest (>= 5.1) tzinfo (~> 2.0) ast (2.4.2) - base64 (0.1.1) better_html (2.0.2) actionview (>= 6.0) activesupport (>= 6.0) @@ -39,23 +38,23 @@ GEM erubi (1.12.0) i18n (1.14.1) concurrent-ruby (~> 1.0) - json (2.6.3) + json (2.7.1) language_server-protocol (3.17.0.3) loofah (2.21.3) crass (~> 1.0.2) nokogiri (>= 1.12.0) mini_portile2 (2.8.4) - minitest (5.20.0) + minitest (5.21.2) mocha (2.1.0) ruby2_keywords (>= 0.0.5) nokogiri (1.15.4) mini_portile2 (~> 2.8.2) racc (~> 1.4) - parallel (1.23.0) - parser (3.2.2.4) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) racc - racc (1.7.1) + racc (1.7.3) rack (3.0.8) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) @@ -65,22 +64,21 @@ GEM loofah (~> 2.21) nokogiri (~> 1.14) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.8.2) + rake (13.1.0) + regexp_parser (2.9.0) rexml (3.2.6) - rubocop (1.57.1) - base64 (~> 0.1.1) + rubocop (1.60.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) rubocop-github (0.20.0) rubocop (>= 1.37) @@ -106,10 +104,10 @@ PLATFORMS DEPENDENCIES erb_lint (~> 0.5.0) erblint-github! - minitest (~> 5.20.0) + minitest (~> 5.21.1) mocha (~> 2.1.0) - rake (~> 13.0.6) - rubocop (= 1.57.1) + rake (~> 13.1.0) + rubocop (= 1.60.2) rubocop-github (~> 0.20.0) BUNDLED WITH diff --git a/erblint-github.gemspec b/erblint-github.gemspec index ee3116f..f1a4396 100644 --- a/erblint-github.gemspec +++ b/erblint-github.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = "erblint-github" - s.version = "0.5.1" + s.version = "1.0.0" s.summary = "erblint GitHub" s.description = "Template style checking for GitHub Ruby repositories" s.homepage = "https://github.com/github/erblint-github" @@ -11,17 +11,17 @@ Gem::Specification.new do |s| s.files = Dir["README.md", "LICENSE", "lib/**/*", "config/**/*"] s.require_paths = ["lib"] - s.required_ruby_version = ">= 2.7.0" + s.required_ruby_version = ">= 3.0.0" s.email = ["opensource+erblint-github@github.com"] s.authors = ["GitHub Open Source"] s.add_development_dependency "erb_lint", "~> 0.5.0" - s.add_development_dependency "minitest", "~> 5.20.0" + s.add_development_dependency "minitest", "~> 5.21.1" s.add_development_dependency "mocha", "~> 2.1.0" - s.add_development_dependency "rake", "~> 13.0.6" + s.add_development_dependency "rake", "~> 13.1.0" - s.add_development_dependency "rubocop", "= 1.57.1" + s.add_development_dependency "rubocop", "= 1.60.2" s.add_development_dependency "rubocop-github", "~> 0.20.0" s.metadata["rubygems_mfa_required"] = "true"