23 lines
562 B
YAML
23 lines
562 B
YAML
name: PR
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: docker
|
|
container:
|
|
image: git.nakama.town/fmartingr/ci-images/ci-base:1.0.0
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- run: git config --global --add safe.directory '*'
|
|
- name: Install Flutter
|
|
uses: actions/flutter-action@v2
|
|
with:
|
|
channel: stable
|
|
- name: Lint
|
|
run: |
|
|
flutter pub get
|
|
dart format --set-exit-if-changed .
|
|
flutter pub run build_runner build --delete-conflicting-outputs
|
|
flutter analyze
|