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