Update librdkafka to 2.4.0 #737
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: '0 1 * * *' | |
env: | |
BUNDLE_RETRY: 6 | |
BUNDLE_JOBS: 4 | |
jobs: | |
specs: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- '3.4.0-preview1' | |
- '3.3' | |
- '3.2' | |
- '3.1' | |
- '3.0' | |
include: | |
- ruby: '3.3' | |
coverage: 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install package dependencies | |
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS" | |
- name: Start Kafka with docker compose | |
run: | | |
docker compose up -d || (sleep 5 && docker compose up -d) | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{matrix.ruby}} | |
bundler-cache: true | |
- name: Run all specs | |
env: | |
GITHUB_COVERAGE: ${{matrix.coverage}} | |
run: | | |
bundle install --path vendor/bundle | |
cd ext && bundle exec rake && cd .. | |
bundle exec rspec |