diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d836af..8c4c830 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,17 +11,23 @@ jobs: runs-on: ubuntu-latest container: image: golang:alpine + env: + GOFLAGS: -buildvcs=false steps: - name: Check out repository code uses: actions/checkout@v4 - - name: Test all modules + - name: Set up test environment run: | - apk add --no-cache bash gcc g++ openssl-dev - export GOFLAGS=-buildvcs=false + apk add --no-cache bash gcc g++ openssl-dev openssl go work init go work use -r . - go test -v ./... - go test -v ./examples/... - go test -v ./fsim/... - go test -v ./sqlite/... - go test -v ./tpm/... + - name: Test base library + run: go test -v ./... + - name: Test FSIM + run: go test -v ./fsim/... + - name: Test sqlite + run: go test -v ./sqlite/... + - name: Test TPM + run: go test -v ./tpm/... + - name: Test examples + run: go test -v ./examples/...