chore: add Flutter CI workflow - #17
Merged
Merged
Conversation
모든 PR을 깨끗한 러너에서 검증한다. 로컬 통과는 검증으로 치지 않는다. 이 저장소는 전역 ~/.gradle의 JDK 고정과 브랜치별 pubspec 불일치 때문에 "내 컴퓨터에서는 되는데" 상황을 이미 겪었다. analyze-and-test - flutter analyze: v1 코드에 남은 경고·info는 별도 이슈로 정리 중이라 --no-fatal-infos --no-fatal-warnings 로 두고 에러만 실패로 본다 - 생성 코드 최신성 검사: build_runner를 다시 돌려 커밋된 .g.dart/.freezed.dart 와 다르면 실패시킨다. codegen 누락은 로컬에서 드러나지 않는다 - flutter test: 테스트 파일이 없는 브랜치에서도 깨지지 않게 존재를 먼저 확인 build-android - Gradle 9.1 / AGP 8.13 조합을 검증한 JDK 17로 고정 - google-services.json은 gitignore 대상이라 워크플로에서 생성한다. 값은 lib/firebase_options.dart에 이미 커밋된 공개 클라이언트 식별자와 동일하다. oauth_client가 비어 Google 로그인은 안 되지만 빌드 검증에는 충분하다 (#12) - 디버그 APK를 아티팩트로 올려 실기기 확인에 쓸 수 있게 한다
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
모든 PR을 깨끗한 러너에서 검증한다. 로컬 통과는 검증으로 치지 않는다 — 이 저장소는 전역
~/.gradle/gradle.properties의 JDK 고정과 브랜치별pubspec.yaml불일치 때문에 "내 컴퓨터에서는 되는데" 상황을 이미 두 번 겪었다.analyze-and-testflutter analyze--no-fatal-infos --no-fatal-warnings. 에러만 실패로 본다build_runner를 다시 돌려 커밋된.g.dart/.freezed.dart와 diff. 다르면 실패flutter test생성 코드 검사를 넣은 이유는 codegen 누락이 로컬에서 드러나지 않기 때문이다. 이미 생성된 파일이 남아 있으면 본인 머신에서는 계속 통과한다.
build-androidGradle 9.1 / AGP 8.13 조합을 검증한 JDK 17로 고정했다.
google-services.json이 gitignore 대상이라 워크플로에서 생성한다. 값은lib/firebase_options.dart에 이미 커밋되어 있는 공개 클라이언트 식별자와 동일하므로 새로 노출되는 비밀은 없다.oauth_client가 비어 Google 로그인은 동작하지 않지만 빌드 검증에는 충분하다 (#12).디버그 APK는 아티팩트로 올려 실기기 확인에 쓸 수 있게 했다.
이 PR 자체가 첫 검증 대상이다
pull_request이벤트라 이 PR에서 바로 실행된다. 초록을 확인한 뒤에만 머지한다.