86244cdfbc
CI skips on changes to platform dirs (ios, linux, macos, web, windows), docs, and README. Build skips on test-only changes since tests don't affect the release APK. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
698 B
YAML
38 lines
698 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "lib/**"
|
|
- "test/**"
|
|
- "pubspec.yaml"
|
|
- "pubspec.lock"
|
|
- "analysis_options.yaml"
|
|
- ".forgejo/workflows/ci.yml"
|
|
pull_request:
|
|
paths:
|
|
- "lib/**"
|
|
- "test/**"
|
|
- "pubspec.yaml"
|
|
- "pubspec.lock"
|
|
- "analysis_options.yaml"
|
|
- ".forgejo/workflows/ci.yml"
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze & test
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/cirruslabs/flutter:stable
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Analyze
|
|
run: flutter analyze
|
|
|
|
- name: Test
|
|
run: flutter test
|