Skip to content

Commit

Permalink
cleaning up github checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtome committed Oct 19, 2023
1 parent 291a9b7 commit 00edd56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 41 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ jobs:
- uses: bluefireteam/melos-action@v2
- run: melos run format-check

analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_MIN_VERSION}}
- uses: bluefireteam/melos-action@v2
- name: "Analyze with lowest supported version"
uses: invertase/[email protected]
with:
fatal-infos: true

analyze-latest:
runs-on: ubuntu-latest
steps:
Expand All @@ -44,30 +31,6 @@ jobs:
uses: invertase/[email protected]
with:
fatal-infos: true

markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install -g markdownlint-cli
- run: markdownlint . -p .markdownlintignore -c .markdownlint.yaml

dcm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v2
- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Run DCM
run: dcm analyze .
# END LINTING STAGE

# BEGIN TESTING STAGE
Expand Down
8 changes: 4 additions & 4 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ scripts:
description: Run `flutter analyze` for all packages.

format:
run: melos exec flutter format . --fix
description: Run `flutter format` for all packages.
run: melos exec dart format . --fix
description: Run `dart format` for all packages.

format-check:
run: melos exec flutter format . --set-exit-if-changed
description: Run `flutter format` checks for all packages.
run: melos exec dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.

dartdoc:
run: melos exec flutter pub run dartdoc
Expand Down

0 comments on commit 00edd56

Please sign in to comment.