Skip to content

Commit

Permalink
fix: add actions to test
Browse files Browse the repository at this point in the history
  • Loading branch information
d3vb0ox committed Aug 1, 2024
1 parent d822053 commit bbe02de
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,13 @@ jobs:
with:
go-version: '1.22'

- name: Test
- name: Compile
run: |
cd collector
go build -v ./...
go test -v ./...
- name: prepare binary
- name: Test
run: |
cd collector
go build cmd/collector/database-collector.go
go test -v ./...
- name: upload binary
uses: actions/upload-artifact@v4
with:
name: database-collector
path: collector/database-collector

0 comments on commit bbe02de

Please sign in to comment.