fix: 增加玲珑数据目录权限修复 #19
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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-amd64: | |
| name: Validate amd64 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| - name: Fetch Dart dependencies | |
| run: flutter pub get | |
| - name: Generate code | |
| run: dart run build_runner build --delete-conflicting-outputs | |
| - name: Run static analysis | |
| run: flutter analyze | |
| - name: Run tests | |
| run: flutter test | |
| # Packaging smoke tests moved to nightly to keep PR feedback fast. | |
| - name: Run release CLI smoke test | |
| run: bash build/scripts/release-cli-smoke-test.sh | |
| - name: Run nightly CLI smoke test | |
| run: bash build/scripts/nightly-cli-smoke-test.sh |