Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

ci(dart-sdk-validation): remove validation (#1378)

Jiralite15573d3f6b81
diff --git a/.github/workflows/dart-sdk-validation.yaml b/.github/workflows/dart-sdk-validation.yaml
index 774b9d877..5fc7b23bf 100644
--- a/.github/workflows/dart-sdk-validation.yaml
+++ b/.github/workflows/dart-sdk-validation.yaml
@@ -54,46 +54,3 @@ jobs:
echo "::error::OpenAPI schemas are outdated."
exit 1
fi
-
- validate:
- name: Validate Dart SDK generation
- runs-on: ubuntu-latest
- steps:
- - name: Check changed files
- id: changes
- env:
- GH_TOKEN: ${{ github.token }}
- PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
- run: |
- changed_files="$(mktemp)"
- gh pr diff "$PULL_REQUEST_NUMBER" --repo "$GITHUB_REPOSITORY" --name-only > "$changed_files"
- if grep -Fxq 'fluxer_api/src/api/openapi/openapi.json' "$changed_files"; then
- echo "openapi=true" >> "$GITHUB_OUTPUT"
- else
- echo "openapi=false" >> "$GITHUB_OUTPUT"
- fi
-
- - name: Checkout fluxer
- if: steps.changes.outputs.openapi == 'true'
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- with:
- persist-credentials: false
-
- - name: Checkout Dart SDK
- if: steps.changes.outputs.openapi == 'true'
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- with:
- repository: fluxerapp/dart_sdk
- path: dart_sdk
- persist-credentials: false
-
- - name: Setup Dart
- if: steps.changes.outputs.openapi == 'true'
- uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
- with:
- sdk: stable
-
- - name: Validate Dart SDK generation
- if: steps.changes.outputs.openapi == 'true'
- working-directory: dart_sdk
- run: ./scripts/openapi_sdk.sh validate