Skip to content

Commit

Permalink
Adds a build check in Github Actions CI workflow
Browse files Browse the repository at this point in the history
This will help to verify the build for entrypoint
using `disable_tls` and `disable_spire` flags

Signed-off-by: PuneetPunamiya <[email protected]>
  • Loading branch information
PuneetPunamiya committed Mar 4, 2025
1 parent 6611ef3 commit fd1176e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ jobs:
- name: build
run: |
go build -v ./...
buildWithoutTlsAndSpire:
name: buildWithTlsAndSpire
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: "go.mod"
- name: build
run: |
go build -v -tags "disable_spire,disable_tls" ./cmd/entrypoint
echo "Build finished with exit code: $?"
linting:
needs: [build]
name: lint
Expand Down

0 comments on commit fd1176e

Please sign in to comment.