Skip to content

fix collector path

fix collector path #2

Workflow file for this run

name: Go
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Test
run: |
cd collector
go build -v ./...
go test -v ./...
- name: prepare binary
run: |
cd collector
go build cmd/collector/main.go -o database-collector
- name: upload binary
uses: actions/upload-artifact@v4
with:
name: database-collector
path: collector/database-collector