Skip to content

feat: add metrics

feat: add metrics #12

Workflow file for this run

name: Plan / Test On PR
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Make tests
run: |
make tidy
make test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=6m ./...
- name: prettier
run: |
npm install -g prettier
prettier --check .
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Make build
run: make build