Skip to content

update benchmarks

update benchmarks #653

Workflow file for this run

name: Go CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
unit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- name: Install native dependencies
run: |
sudo apt-get update || true
sudo apt-get install -y libzmq3-dev pkg-config
- name: Run go test with coverage
run: |
go test ./... -coverprofile=coverage.out
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: coverage.out
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}