diff --git a/.github/workflows/rpk-build.yml b/.github/workflows/rpk-build.yml index 5347245cf85d..9e50e4b123d3 100644 --- a/.github/workflows/rpk-build.yml +++ b/.github/workflows/rpk-build.yml @@ -14,9 +14,11 @@ on: - 'dev' paths: - 'src/go/rpk/**' + - '.github/workflows/rpk-build.yml' pull_request: paths: - 'src/go/rpk/**' + - '.github/workflows/rpk-build.yml' jobs: test: @@ -35,7 +37,8 @@ jobs: uses: actions/setup-go@v5 with: go-version: stable + cache-dependency-path: 'src/go/rpk/go.sum' - name: Run tests working-directory: src/go/rpk/ - run: go test -v ./... + run: go run gotest.tools/gotestsum@v1.11.0 -- -cover ./...