File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : pana
1+ name : pub_dev_publish_check
22
33on :
44 pull_request :
1414 - ' **/assets/**'
1515 - ' **/integration_test/**'
1616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721jobs :
18- configure :
19- timeout-minutes : 9
22+ pub_dev_publish_check :
23+ timeout-minutes : 15
2024 runs-on : ubuntu-latest
21- name : ${{ matrix.package }} configuration
25+ name : " ${{ matrix.package }} pub.dev publish check "
2226 strategy :
2327 matrix :
2428 package :
2731 fail-fast : false
2832
2933 steps :
30- - uses : actions/checkout@v6
31- - uses : axel-op/dart-package-analyzer@v3
34+ - name : " Checkout repository"
35+ uses : actions/checkout@v6
36+ - uses : subosito/flutter-action@v2
3237 with :
33- relativePath : ${{ matrix.package }}
34- githubToken : ${{ secrets.GITHUB_TOKEN }}
38+ channel : stable
39+ cache : true
40+ cache-key : flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
41+ - name : " Install dependencies"
42+ run : flutter pub get --no-example
43+ working-directory : ${{ matrix.package }}
44+ - name : " Check pub.dev requirements"
45+ run : flutter pub publish --dry-run
46+ working-directory : ${{ matrix.package }}
You can’t perform that action at this time.
0 commit comments