Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

fix(ci): add libsecret-1-dev to Linux release build dependencies #15

fix(ci): add libsecret-1-dev to Linux release build dependencies

fix(ci): add libsecret-1-dev to Linux release build dependencies #15

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Install dependencies
run: flutter pub get
- name: Generate code
run: dart run build_runner build --delete-conflicting-outputs
- name: Verify generated code is committed
run: |
if git status --porcelain | grep -E '\.g\.dart$' >/dev/null; then
echo "::error::Generated files changed. Commit the generated output."
git status --porcelain
exit 1
fi
- name: Analyze (phased gate)
run: flutter analyze --no-fatal-infos --no-fatal-warnings 2>&1 | tee /tmp/flutter_analyze.log
- name: Enforce analyze issue budget
run: bash tool/ci/check_analyze_budget.sh /tmp/flutter_analyze.log 186
- name: Test (unit + widget + integration) with coverage
run: flutter test --coverage
- name: Install lcov
run: |
if ! command -v lcov >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y lcov
fi
- name: Enforce coverage threshold
run: bash tool/ci/check_coverage.sh coverage/lcov.info 35
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.filtered.info
fail_ci_if_error: false
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-lcov
path: |
coverage/lcov.info
coverage/lcov.filtered.info
- name: Upload analyze report
uses: actions/upload-artifact@v4
with:
name: analyze-log
path: /tmp/flutter_analyze.log