diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61d7de0..4191a15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} + rubygems: latest bundler: ${{ matrix.bundler-version }} bundler-cache: true - name: Run tests @@ -37,6 +38,8 @@ jobs: lint: runs-on: ubuntu-latest + env: + BUNDLE_LOCKFILE: active steps: - uses: actions/checkout@v3 - name: Set up Ruby @@ -44,6 +47,7 @@ jobs: with: ruby-version: "3.0" bundler-cache: true + rubygems: latest - name: Run RuboCop run: bin/rubocop timeout-minutes: 2