diff --git a/.github/workflows/build-showbridge.yaml b/.github/workflows/test-showbridge.yaml similarity index 77% rename from .github/workflows/build-showbridge.yaml rename to .github/workflows/test-showbridge.yaml index 5df1c0a..91c159c 100644 --- a/.github/workflows/build-showbridge.yaml +++ b/.github/workflows/test-showbridge.yaml @@ -1,4 +1,4 @@ -name: Build Go Program +name: Test showbridge on: pull_request: @@ -24,5 +24,6 @@ jobs: go-version-file: 'go.mod' - name: mod tidy run: go mod tidy - - name: build - run: CGO_ENABLED=1 go build -v -o dist/showbridge-linux ./cmd/showbridge \ No newline at end of file + + - name: run tests + run: go test ./... \ No newline at end of file