Skip to content

build: pub upgrade #683

build: pub upgrade

build: pub upgrade #683

Workflow file for this run

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