Skip to content

Commit

Permalink
ci: Use new setup-dart action
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Mar 19, 2024
1 parent c207045 commit 20c9b4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart pub run dartdoc --no-auto-include-dependencies --quiet

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: |
[ -z "$(dart format . | grep "(0 changed)")" ] && exit 1 || exit 0
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart analyze --fatal-infos --fatal-warnings
# END LINTING STAGE
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart test

Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cedx/setup-dart@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart pub run benchmark
# END TESTING STAGE

0 comments on commit 20c9b4c

Please sign in to comment.