mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-26 02:27:14 +01:00
CI: slim Flutter SDK for gating jobs; APK only on app changes, Gradle cached
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Has been cancelled
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Has been cancelled
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6f351179d7
commit
429e854ddd
5
.github/workflows/pre-commit.yml
vendored
5
.github/workflows/pre-commit.yml
vendored
@ -57,12 +57,11 @@ jobs:
|
|||||||
# The flutter-analyze hook shells out to `flutter analyze` in
|
# The flutter-analyze hook shells out to `flutter analyze` in
|
||||||
# stronglift_replacement/workout_app. Pin to the version the app is
|
# stronglift_replacement/workout_app. Pin to the version the app is
|
||||||
# developed against (Dart SDK ^3.12.2) so CI's analyzer matches local.
|
# developed against (Dart SDK ^3.12.2) so CI's analyzer matches local.
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: kuhyx/utils/flutter-setup@flutter-setup-v1
|
||||||
if: matrix.group == 'flutter'
|
if: matrix.group == 'flutter'
|
||||||
with:
|
with:
|
||||||
flutter-version: 3.47.6
|
flutter-version: 3.47.6
|
||||||
channel: stable
|
working-directory: stronglift_replacement/workout_app
|
||||||
cache: true
|
|
||||||
# analyze needs resolved packages (.dart_tool); the hook runs analyze
|
# analyze needs resolved packages (.dart_tool); the hook runs analyze
|
||||||
# only, so fetch deps here first.
|
# only, so fetch deps here first.
|
||||||
- name: Resolve Flutter packages
|
- name: Resolve Flutter packages
|
||||||
|
|||||||
9
.github/workflows/python-tests.yml
vendored
9
.github/workflows/python-tests.yml
vendored
@ -92,13 +92,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
# cache: true keeps the SDK and ~/.pub-cache between runs; without it
|
# The slim cached SDK (utils/flutter-setup): subosito's full-SDK
|
||||||
# the SDK download alone was ~57 s.
|
# cache cost ~38 s to restore even on a hit.
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: kuhyx/utils/flutter-setup@flutter-setup-v1
|
||||||
with:
|
with:
|
||||||
flutter-version: 3.47.6
|
flutter-version: 3.47.6
|
||||||
channel: stable
|
working-directory: stronglift_replacement/workout_app
|
||||||
cache: true
|
|
||||||
|
|
||||||
- name: flutter test --coverage, bucket ${{ matrix.shard }}
|
- name: flutter test --coverage, bucket ${{ matrix.shard }}
|
||||||
run: bash scripts/check_flutter_coverage.sh --shard "${{ matrix.shard }}/$FLUTTER_SHARDS"
|
run: bash scripts/check_flutter_coverage.sh --shard "${{ matrix.shard }}/$FLUTTER_SHARDS"
|
||||||
|
|||||||
10
.github/workflows/release-apk.yml
vendored
10
.github/workflows/release-apk.yml
vendored
@ -3,6 +3,14 @@ name: release-apk
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
# A publisher, not a gate: build only when something that ends up in
|
||||||
|
# the APK changed. versionCode is the commit count, so skipped pushes
|
||||||
|
# still leave it monotonic.
|
||||||
|
paths:
|
||||||
|
- 'stronglift_replacement/workout_app/**'
|
||||||
|
- '.fvmrc'
|
||||||
|
- '.versioncode-offset'
|
||||||
|
- '.github/workflows/release-apk.yml'
|
||||||
# Lets a release be rebuilt from the current main without a dummy commit.
|
# Lets a release be rebuilt from the current main without a dummy commit.
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -47,6 +55,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
# ~/.gradle caches + wrapper, keyed on the Gradle files.
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user