diff --git a/.github/workflows/foundation-gate.yml b/.github/workflows/foundation-gate.yml index 79b6b7f..b63f625 100644 --- a/.github/workflows/foundation-gate.yml +++ b/.github/workflows/foundation-gate.yml @@ -114,7 +114,8 @@ jobs: "https://github.com/oasdiff/oasdiff/releases/download/v1.28.0/checksums.txt" (cd /tmp/oasdiff-install && grep "oasdiff_1.28.0_linux_amd64.tar.gz" checksums.txt | sha256sum -c -) tar -xzf /tmp/oasdiff-install/oasdiff_1.28.0_linux_amd64.tar.gz -C /usr/local/bin - oasdiff version + # v1.28.0 has no `version` subcommand (exits 100); the flag form is correct. + oasdiff --version - name: Fail on unacknowledged breaking changes # oasdiff breaking --fail-on ERR exits 1 when the PR's openapi.yaml has breaking # changes vs the base branch (removed/renamed paths, removed required params, etc).