Skip to content

Add raft group for JetStream metrics (#221) #563

Add raft group for JetStream metrics (#221)

Add raft group for JetStream metrics (#221) #563

Workflow file for this run

name: Testing
on:
pull_request: {}
push:
branches:
- main
jobs:
test:
strategy:
matrix:
go: [ '1.23' ]
os: [ ubuntu-latest, macOS-latest ]
runs-on: ${{matrix.os}}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go}}
- name: go vet
shell: bash --noprofile --norc -x -eo pipefail {0}
run: |
go mod tidy
go vet ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Run tests
shell: bash --noprofile --norc -x -eo pipefail {0}
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
run: |
export GOPATH="$RUNNER_WORKSPACE"
go test -v -race -p 1 ./...
./scripts/cov.sh CI