Skip to content

Add package bloom

Add package bloom #18

Workflow file for this run

name: Go
on:
push:
branches: ["*"]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.16", "1.17", "1.18"]
redis: [4, 5, 6]
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Start Redis ${{ matrix.redis }}
uses: supercharge/[email protected]
with:
redis-version: ${{ matrix.redis }}
- name: Run Test With coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3