Skip to content

check generated code on CI (#16) #32

check generated code on CI (#16)

check generated code on CI (#16) #32

Workflow file for this run

name: Build
on:
pull_request:
push:
branches: [ "main" ]
jobs:
gradle-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
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:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}