ci: update ci workflow to use rps #225
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| paths-ignore: | |
| - ".github/**" | |
| - ".vscode/**" | |
| - "README.md" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/cirruslabs/flutter:3.35.5 | |
| steps: | |
| - name: Checkout OneSignal-Flutter-SDK | |
| uses: actions/checkout@v5 | |
| - name: Install | |
| run: flutter pub get | |
| - name: Static Analysis | |
| run: flutter analyze | |
| - name: Ensure the Dart code is formatted correctly | |
| run: dart format --set-exit-if-changed --output=none . | |
| - name: Run Flutter unit tests | |
| run: rps test |