ci: add automated native SDK version management #614
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: Test | |
| on: [pull_request] | |
| # Cancel jobs and just run the last one | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| unit_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-flutter | |
| - name: Run Flutter tests | |
| run: flutter test | |
| test_publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-flutter | |
| - name: dry-run publishing to feel confident deployment will work after merging PR | |
| uses: k-paxian/dart-package-publisher@e555d5c07a728bca4c6706ff8907a76ab53a5bf0 # master | |
| with: | |
| credentialJson: ${{ secrets.CREDENTIAL_JSON }} | |
| dryRunOnly: true | |
| flutter: true |