Skip to content

Commit

Permalink
Call unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Oct 13, 2023
1 parent f3c7804 commit 8f2bd39
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
run: |
docker buildx bake vet
- name: Unit tests
run: |
docker buildx bake test
- name: Build binary
run: |
docker buildx bake binary
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
run: |
docker buildx bake vet
- name: Unit tests
run: |
docker buildx bake test
- name: Build and release binaries
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ target "lint" {

target "vet" {
target = "vet"
}

target "test" {
target = "unit-test"
}

0 comments on commit 8f2bd39

Please sign in to comment.