diff --git a/.github/workflows/test-breaking.yaml b/.github/workflows/test-breaking.yaml index a0b8244..eb513e4 100644 --- a/.github/workflows/test-breaking.yaml +++ b/.github/workflows/test-breaking.yaml @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest name: Test fail on breaking changes env: - OASDIFF_ACTION_TEST_EXPECTED_OUTPUT: "2 changes: 0 error, 2 warning, 0 info" + OASDIFF_ACTION_TEST_EXPECTED_OUTPUT: "1 changes: 0 error, 1 warning, 0 info" steps: - name: checkout uses: actions/checkout@v7 @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest name: Test breaking action with petsotre to validate no error of unable to process file command 'output' successfully and invalid value and matching delimiter not found env: - OASDIFF_ACTION_TEST_EXPECTED_OUTPUT: "9 changes: 6 error, 3 warning, 0 info" + OASDIFF_ACTION_TEST_EXPECTED_OUTPUT: "7 changes: 6 error, 1 warning, 0 info" steps: - name: checkout uses: actions/checkout@v7 diff --git a/.github/workflows/test-changelog.yaml b/.github/workflows/test-changelog.yaml index abb9235..fb39ab1 100644 --- a/.github/workflows/test-changelog.yaml +++ b/.github/workflows/test-changelog.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest name: Test generation of changelog env: - OASDIFF_ACTION_TEST_EXPECTED_OUTPUT: "22 changes: 2 error, 4 warning, 16 info" + OASDIFF_ACTION_TEST_EXPECTED_OUTPUT: "22 changes: 4 error, 4 warning, 14 info" steps: - name: checkout uses: actions/checkout@v7 @@ -84,11 +84,11 @@ jobs: revision: https://raw.githubusercontent.com/oasdiff/oasdiff/main/data/openapi-test3.yaml - name: Assert level filter from .oasdiff.yaml suppressed warning/info findings run: | - # Without the YAML, the same specs produce "22 changes: 2 error, 4 warning, 16 info". - # With level: ERR in YAML, only the 2 errors should remain. + # Without the YAML, the same specs produce "22 changes: 4 error, 4 warning, 14 info". + # With level: ERR in YAML, only the 4 errors should remain. output=$(echo "${{ steps.test_yaml_level.outputs.changelog }}" | head -n 1) - if [[ "$output" != "2 changes: 2 error, 0 warning, 0 info" ]]; then - echo "Expected '2 changes: 2 error, 0 warning, 0 info' (level: ERR from .oasdiff.yaml) but got '$output'" >&2 + if [[ "$output" != "4 changes: 4 error, 0 warning, 0 info" ]]; then + echo "Expected '4 changes: 4 error, 0 warning, 0 info' (level: ERR from .oasdiff.yaml) but got '$output'" >&2 exit 1 fi changelog_pro_expired_trial_warns_without_failing: diff --git a/breaking/Dockerfile b/breaking/Dockerfile index 2cc622d..b69aecd 100644 --- a/breaking/Dockerfile +++ b/breaking/Dockerfile @@ -1,4 +1,4 @@ -FROM tufin/oasdiff:v1.29.1 +FROM tufin/oasdiff:v1.30.0 RUN apk add --no-cache curl jq ENV PLATFORM github-action COPY entrypoint.sh /entrypoint.sh diff --git a/changelog/Dockerfile b/changelog/Dockerfile index 2cc622d..b69aecd 100644 --- a/changelog/Dockerfile +++ b/changelog/Dockerfile @@ -1,4 +1,4 @@ -FROM tufin/oasdiff:v1.29.1 +FROM tufin/oasdiff:v1.30.0 RUN apk add --no-cache curl jq ENV PLATFORM github-action COPY entrypoint.sh /entrypoint.sh diff --git a/diff/Dockerfile b/diff/Dockerfile index b41d48a..9106739 100644 --- a/diff/Dockerfile +++ b/diff/Dockerfile @@ -1,4 +1,4 @@ -FROM tufin/oasdiff:v1.29.1 +FROM tufin/oasdiff:v1.30.0 ENV PLATFORM github-action COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] diff --git a/pr-comment/Dockerfile b/pr-comment/Dockerfile index 2cc622d..b69aecd 100644 --- a/pr-comment/Dockerfile +++ b/pr-comment/Dockerfile @@ -1,4 +1,4 @@ -FROM tufin/oasdiff:v1.29.1 +FROM tufin/oasdiff:v1.30.0 RUN apk add --no-cache curl jq ENV PLATFORM github-action COPY entrypoint.sh /entrypoint.sh diff --git a/specs/revision-breaking-warn.yaml b/specs/revision-breaking-warn.yaml index 3dba768..bcdd028 100644 --- a/specs/revision-breaking-warn.yaml +++ b/specs/revision-breaking-warn.yaml @@ -25,14 +25,6 @@ paths: operationId: listPets tags: - pets - parameters: - - name: limit - in: query - description: How many items to return at one time (max 100) - required: false - schema: - type: integer - format: int32 responses: '200': description: A paged array of pets diff --git a/validate/Dockerfile b/validate/Dockerfile index b41d48a..9106739 100644 --- a/validate/Dockerfile +++ b/validate/Dockerfile @@ -1,4 +1,4 @@ -FROM tufin/oasdiff:v1.29.1 +FROM tufin/oasdiff:v1.30.0 ENV PLATFORM github-action COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] diff --git a/verify/Dockerfile b/verify/Dockerfile index 2cc622d..b69aecd 100644 --- a/verify/Dockerfile +++ b/verify/Dockerfile @@ -1,4 +1,4 @@ -FROM tufin/oasdiff:v1.29.1 +FROM tufin/oasdiff:v1.30.0 RUN apk add --no-cache curl jq ENV PLATFORM github-action COPY entrypoint.sh /entrypoint.sh