Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-breaking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion breaking/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion changelog/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion diff/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
2 changes: 1 addition & 1 deletion pr-comment/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 0 additions & 8 deletions specs/revision-breaking-warn.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
openapi: "3.0.0"
info:
version: 1.0.0
Expand Down Expand Up @@ -25,14 +25,6 @@
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
Expand Down
2 changes: 1 addition & 1 deletion validate/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
2 changes: 1 addition & 1 deletion verify/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading