A platform for community discussion. Free, open, simple.
DEV: Check Gemfile.lock is up to date on CI
Loïc Guitaut4b3044565de9
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.ymlindex 334f7bc9ac0..11ed1d2ceae 100644--- a/.github/workflows/linting.yml+++ b/.github/workflows/linting.yml@@ -44,12 +44,23 @@ jobs:bundle config --local path vendor/bundlebundle config --local deployment truebundle config --local without development+ bundle config --local lockfile_checksums truebundle install --jobs 4bundle clean- name: pnpm installrun: pnpm install --frozen-lockfile+ - name: Bundler checksums+ if: ${{ !cancelled() }}+ shell: bash+ run: |+ bundle lock --add-checksums+ bundle lock --normalize-platforms+ if [[ $(git status -s Gemfile.lock) ]]; then+ echo "Gemfile.lock is not up to date. Please run 'bundle lock --add-checksums' and 'bundle lock --normalize-platforms'." && false+ fi+- name: Rubocopif: ${{ !cancelled() }}run: bundle exec rubocop