From e0f8dbdb04907ef3bd261f7ee17f0d9d858c04ff Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Mon, 22 Jan 2024 21:11:53 +0100 Subject: [PATCH] ci: make sure go-run'ing binaries works (#894) Signed-off-by: Pierre Fenoll --- .github/workflows/go.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bd220ff45..acb3a0f0d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -131,6 +131,10 @@ jobs: run: | ! git grep -InE 'require[.].+err.Error' + - if: runner.os == 'Linux' + name: Ensure go-run'ing binaries works + run: go run -a github.com/getkin/kin-openapi/cmd/validate@latest -- openapi3/testdata/test.openapi.yml + - if: runner.os == 'Linux' name: Missing specification object link to definition run: |