chore: rerun ci #311
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate | |
on: pull_request | |
jobs: | |
verify_commits: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Conventional PRs | |
uses: Namchee/conventional-pr@v0.4.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
link_issue: false | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: beta | |
- name: Activate melos | |
run: | | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
dart pub global activate melos | |
- name: Bootstrap melos | |
run: melos bs | |
- name: Analyze package | |
run: melos exec -- flutter analyze --no-fatal-infos | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: beta | |
- name: Activate melos | |
run: | | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
dart pub global activate melos 2.9.0 | |
- name: Bootstrap melos | |
run: melos bs | |
- name: Validate formatting | |
run: | | |
melos exec -- dart format -o write . | |
./.github/workflows/scripts/validate-formatting.sh | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: beta | |
- name: Activate melos | |
run: | | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
dart pub global activate melos 2.9.0 | |
- name: Bootstrap melos | |
run: melos bs | |
- name: Run tests | |
run: melos exec --dir-exists=test -- flutter test |