ef4872e24a
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@v6
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Analyze
|
|
run: flutter analyze
|
|
|
|
- name: Test
|
|
run: flutter test
|