diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3b8cbe..748592d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,8 @@ jobs: ruby-version: ruby - run: bundle install + env: + BUNDLE_FROZEN: true # zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces. # specify that we want the v1 branch. diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 40fe044..f237ba4 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -23,4 +23,6 @@ jobs: ruby-version: 3.4 - run: bundle install + env: + BUNDLE_FROZEN: true - run: bundle exec rake -t rubocop diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70007ac..ae8d7fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,4 +38,6 @@ jobs: ruby-version: ${{ matrix.version }} - run: bundle install + env: + BUNDLE_FROZEN: true - run: bundle exec rake -t test diff --git a/Gemfile.lock b/Gemfile.lock index 545c73e..a77b658 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,6 +8,7 @@ GEM specs: ast (2.4.3) json (2.18.0) + json (2.18.0-java) language_server-protocol (3.17.0.5) lint_roller (1.1.0) minitest (6.0.1) @@ -18,6 +19,7 @@ GEM racc prism (1.7.0) racc (1.8.1) + racc (1.8.1-java) rainbow (3.1.1) rake (13.3.1) regexp_parser (2.11.3) @@ -56,6 +58,7 @@ GEM unicode-emoji (4.2.0) PLATFORMS + java ruby x86_64-linux diff --git a/dev-bin/release.sh b/dev-bin/release.sh index 47908a6..14660c2 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -32,6 +32,7 @@ fi check_command perl check_command rake +check_command bundle # Check that we're not on the main branch current_branch=$(git branch --show-current) @@ -84,6 +85,9 @@ fi perl -pi -e "s/(?<=s.version\s{,20}=\s{,20}\').+?(?=\')/$version/g" maxmind-db.gemspec +# Update version in Gemfile.lock. +bundle install + echo $"Test results:" rake