Skip to content

Enable custom metrics #275

Enable custom metrics

Enable custom metrics #275

Workflow file for this run

name: Build SerDe
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/[email protected]
with:
go-version: "1.19"
cache: true
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
cd prometheus-serde
go mod download
- run: |
cd prometheus-serde
make build
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/[email protected]
with:
go-version: "1.19"
cache: true
id: go
- uses: actions/checkout@v3
- name: Get dependencies
run: |
cd prometheus-serde
go mod download
- run: |
cd prometheus-serde
make test