build: pub upgrade #683
Workflow file for this run
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: Pull Requests | |
on: | |
pull_request: | |
paths-ignore: | |
- "firebase/**" | |
- ".devcontainer/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
FLUTTER_VERSION: "beta" # FIXME | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Collect Workflow Telemetry | |
uses: catchpoint/workflow-telemetry-action@v2 | |
with: | |
comment_on_pr: false | |
### Set up ### | |
- uses: actions/checkout@v4 | |
- uses: subosito/[email protected] | |
with: | |
channel: ${{ env.FLUTTER_VERSION }} | |
cache: true | |
cache-key: "flutter-:channel:-:version:-:hash:" | |
- run: | | |
dart pub get | |
dart pub run build_runner build --delete-conflicting-outputs | |
dart fix --apply lib | |
dart format --set-exit-if-changed . | |
dart analyze --fatal-infos . | |
dart run custom_lint | |
git diff --exit-code | |
### Build ### | |
- name: Build | |
run: | | |
flutter build web |