Skip to content

Commit

Permalink
fix github action 2
Browse files Browse the repository at this point in the history
  • Loading branch information
otopba committed Aug 5, 2024
1 parent ee11592 commit dad5b24
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ on:
branches: [ main ]

jobs:

format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: flutter format --set-exit-if-changed .
- run: dart format --set-exit-if-changed .

package-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- uses: axel-op/dart-package-analyzer@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -36,6 +36,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pub get
run: dart pub get
- name: Run tests
run: pub run test
run: dart test

0 comments on commit dad5b24

Please sign in to comment.