diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0310e8bc..b4ec7df8 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -29,5 +29,5 @@ jobs: - name: validate spec run: | - make spec-install + sudo make spec-install make spec diff --git a/Makefile b/Makefile index 06d2f890..17a3f42a 100644 --- a/Makefile +++ b/Makefile @@ -275,7 +275,7 @@ spec-install: @apt-get update @apt-get install -y jq moreutils @echo "### Downloading and installing go-swagger" - @curl -o /usr/local/bin/swagger -L "https://github.com/go-swagger/go-swagger/releases/download/v0.27.0/swagger_linux_amd64" + @curl -o /usr/local/bin/swagger -L "https://github.com/go-swagger/go-swagger/releases/download/v0.30.2/swagger_linux_amd64" @chmod +x /usr/local/bin/swagger # The `spec-gen` target is intended to create an api-spec