feat(kafka): sasl auth #533
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: test-build | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.ref }} | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
- uses: actions/setup-node@v3 | |
name: Set up Node | |
with: | |
node-version: 18 | |
- name: Run apt-get update | |
run: sudo apt-get update | |
- name: Install cross-compiler for linux/arm64 | |
run: sudo apt-get -y install gcc-aarch64-linux-gnu | |
- name: Install make | |
run: sudo apt-get -y install make | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Context for Buildx | |
shell: bash | |
id: buildx-context | |
run: | | |
docker context create builders | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
endpoint: builders | |
- name: Run GoReleaser in Docker | |
run: | | |
docker run --rm \ | |
-v ${{ github.workspace }}:/workspace \ | |
-w /workspace \ | |
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-e RELEASE_SUFFIX="test" \ | |
goreleaser/goreleaser-cross:v1.22.2 release --clean --config .goreleaser.yaml --skip=publish --skip=validate |