Skip to content

fix(api): preserve metric even we don't have tags #4511

fix(api): preserve metric even we don't have tags

fix(api): preserve metric even we don't have tags #4511

Workflow file for this run

on:
pull_request:
branches:
- master
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- uses: actions/setup-go@v6
with:
go-version: 1.24.x
cache: true
- uses: dominikh/[email protected]
with:
install-go: false # Go is already installed by setup-go
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- uses: actions/setup-go@v6
with:
go-version: 1.24.x
cache: true
- run: go test -v -race -parallel 8 ./...