.github/workflows/ci.yml in prometheus_exporter-2.1.0 vs .github/workflows/ci.yml in prometheus_exporter-2.1.1

- old
+ new

@@ -25,19 +25,20 @@ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/ar_${{ matrix.activerecord }}.gemfile strategy: fail-fast: false matrix: - ruby: ['3.0', '3.1', '3.2', '3.3'] - activerecord: [60, 61, 70] + ruby: ['3.1', '3.2', '3.3'] + activerecord: [61, 70, 71] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} + bundler: latest bundler-cache: true - name: Rubocop run: bundle exec rubocop @@ -48,14 +49,14 @@ if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: build runs-on: ubuntu-latest outputs: - new_version_published: ${{ steps.release.outputs.new_version_published }} + new_version_published: ${{ steps.release.outputs.new_version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Release gem id: release uses: discourse/publish-rubygems-action@v2 env: @@ -68,10 +69,10 @@ if: needs.publish.outputs.new_version_published == 'true' runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 - name: Set vars id: vars