Add GitHub Copilot instructions (#111) #25
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: Static Analysis | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: dart-lang/setup-dart@v1 | |
| - run: dart pub global activate dpk | |
| - run: dpk get | |
| - name: Generate code in example | |
| run: (cd packages/luthor_generator/example && dart run build_runner build -d) | |
| - run: dpk run analyze |