Skip to content

Commit 86cdef7

Browse files
authored
Merge branch 'fluttercommunity:main' into flutter_3.41_upgrade
2 parents d43fa26 + c88271c commit 86cdef7

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

.github/workflows/pana.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pana
1+
name: pub_dev_publish_check
22

33
on:
44
pull_request:
@@ -14,11 +14,15 @@ on:
1414
- '**/assets/**'
1515
- '**/integration_test/**'
1616

17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
1721
jobs:
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:
@@ -27,8 +31,16 @@ jobs:
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 }}

0 commit comments

Comments
 (0)