Send takes to kafka #7
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: Baloot | |
on: | |
push: [] | |
jobs: | |
build_baloot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
check-latest: true | |
cache-dependency-path: | | |
ingestion_api/go.sum | |
- name: Install dependencies | |
run: go mod download | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -failfast -v -coverprofile=coverage.out ./... | |
- name: Vet | |
run: go vet ./... | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: code coverage report | |
path: ingestion_api/coverage.out | |
- name: Static Code Analysis | |
uses: dominikh/[email protected] | |
with: | |
version: "2022.1.3" |