feat: cronsumer internal queue capacity, producer batch size and time… #410
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 And Test | |
on: | |
push: | |
branches: [v2] | |
pull_request: | |
branches: [v2] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Install dependencies | |
run: go get . | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.51 | |
args: -c .golangci.yml --timeout=5m -v | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic | |
- name: Upload coverage | |
run: bash <(curl -s https://codecov.io/bash) |