package:appengine #10
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: package:appengine | |
permissions: read-all | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/appengine.yml' | |
- 'pkgs/appengine/**' | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/appengine.yml' | |
- 'pkgs/appengine/**' | |
schedule: | |
- cron: '0 0 * * 0' # weekly | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: pkgs/appengine | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
- name: Install dependencies | |
run: dart pub get | |
# Disabled - this would format ~492 files. | |
# - name: Verify formatting | |
# run: dart format --output=none --set-exit-if-changed . | |
- name: Analyze project source | |
run: dart analyze --fatal-infos | |
- name: Run tests | |
run: dart test |