move kafka.go to its own package #61
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 | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: | |
- '2.7' | |
- '3.0' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Before install | |
run: bin/before_install | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{ matrix.ruby-version }}" | |
bundler-cache: true | |
timeout-minutes: 30 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: manageiq-operator/go.mod | |
- name: Run ruby tests | |
run: bundle exec rake | |
- name: Run golang tests | |
run: | | |
make test | |
make build | |
make docker-build | |
working-directory: "./manageiq-operator" |