test: add custom check options for strict internet access validation #109
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: Check source code quality | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "**.dart" | |
| - "pubspec.yaml" | |
| - "analysis_options.yaml" | |
| - ".github/workflows/**" | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - "**.dart" | |
| - "pubspec.yaml" | |
| - "analysis_options.yaml" | |
| - ".github/workflows/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Check lints | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: "stable" | |
| cache: true | |
| - run: flutter --version | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Verify formatting | |
| run: dart format --set-exit-if-changed . | |
| analyze: | |
| name: Check code analysis | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: "stable" | |
| cache: true | |
| - run: flutter --version | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Analyze project source | |
| run: flutter analyze . |