Skip to content

Commit

Permalink
Split workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Mar 7, 2023
1 parent 06ce0fd commit 186e758
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/dart_frog_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,25 @@ on:

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
working_directory: packages/dart_frog

custom_lint:
runs-on: ubuntu-latest
steps:
- uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
- uses: actions/[email protected]
with:
working_directory: packages/dart_frog
- run: dart run custom_lint
fetch-depth: 2
- uses: subosito/[email protected]
- name: Add pub cache bin to PATH
run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
- name: Add pub cache to PATH
run: echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV
- name: Install dependencies
run: flutter pub get
- name: Run custom_lint
run: dart run custom_lint

pana:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
Expand Down

0 comments on commit 186e758

Please sign in to comment.