Skip to content

Commit

Permalink
Job fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrMitkowski committed May 13, 2024
1 parent 599420b commit 1f4f0dc
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Run tests and static checks

on:
push:
branches:
- main
branches:
- main
pull_request:
branches:
- main
- main
workflow_dispatch:

env:
Expand Down Expand Up @@ -34,12 +34,18 @@ jobs:
- name: Run tests
run: flutter test --coverage
validate-for-pub:
name: 'Perform dry run for pub.dev publish'
name: "Perform dry run for pub.dev publish"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Install and set Flutter version
uses: subosito/[email protected]
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
# - name: Install dependencies
# run: dart pub get
- name: Publish - dry run
run: dart pub publish --dry-run
run: flutter pub publish --dry-run

0 comments on commit 1f4f0dc

Please sign in to comment.