Skip to content

Commit

Permalink
check generated code on CI (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogacel authored Oct 13, 2023
1 parent 19aab38 commit 1eb7cb2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
Binary file removed .DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
with:
arguments: build koverXmlReport --scan

- name: Check auto-generated files are committed
shell: bash
run: |
git diff --exit-code
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
build

.idea

.DS_Store
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ tests.
- This is a separate subproject makes sure we are not breaking the compilation of our main app when the
generated code is not compiling after making some changes.
- We store the generated code in version control showcase and review the generated code.
- Make sure you run `./gradlew build` after you modify the code to generate the newest files. If newest files are
not committed, the CI check will fail.

Linting can be done via

Expand Down

0 comments on commit 1eb7cb2

Please sign in to comment.