From fb02991a23a32da0b886c2cacb3935a83917c220 Mon Sep 17 00:00:00 2001 From: Peng Ying Date: Wed, 27 May 2026 17:04:06 -0700 Subject: [PATCH] ci: pin oasdiff to v1.16.0 --- .github/workflows/openapi-breaking-changes.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openapi-breaking-changes.yml b/.github/workflows/openapi-breaking-changes.yml index c3aa998a..fc3530a3 100644 --- a/.github/workflows/openapi-breaking-changes.yml +++ b/.github/workflows/openapi-breaking-changes.yml @@ -31,8 +31,17 @@ jobs: path: head - name: Install oasdiff + env: + OASDIFF_VERSION: 1.16.0 + OASDIFF_SHA256: 2f424431c441a85e2d73ff884609f55c98c283ca2ce3d88537a7a029379dd521 run: | - curl -fsSL https://raw.githubusercontent.com/oasdiff/oasdiff/main/install.sh | sh + curl -fsSL \ + "https://github.com/oasdiff/oasdiff/releases/download/v${OASDIFF_VERSION}/oasdiff_${OASDIFF_VERSION}_linux_amd64.tar.gz" \ + -o /tmp/oasdiff.tgz + echo "${OASDIFF_SHA256} /tmp/oasdiff.tgz" | sha256sum -c - + tar -xzf /tmp/oasdiff.tgz -C /tmp oasdiff + sudo mv /tmp/oasdiff /usr/local/bin/oasdiff + oasdiff --version - name: Run oasdiff breaking id: oasdiff