Merge pull request #232 from amrgetment/main #448
This file contains hidden or 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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
auto_mappr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@v1 | |
- uses: bluefireteam/melos-action@v3 | |
- name: Generate AutoMappr files | |
run: melos run gen:build-all | |
- name: Analyze | |
run: melos run lint:dart | |
- name: Install DCM | |
uses: CQLabs/setup-dcm@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run DCM (shell) | |
run: dcm analyze . --fatal-style --fatal-performance --fatal-warnings | |
shell: bash | |
- name: Test | |
run: melos run test |