Merge pull request #178 from grepplabs/kafka-3.8 #75
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: build | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
- run: go version | |
- name: Run build | |
run: make clean build | |
- name: Run test | |
run: make test.race | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Docker build base | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
push: false | |
build-args: | | |
MAKE_TARGET=test build | |
- name: Docker build all | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
push: false | |
build-args: | | |
MAKE_TARGET=all |