Update CHANGELOG #414
Workflow file for this run
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
| name: "build" | |
| on: push | |
| jobs: | |
| lint: | |
| runs-on: macos-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "Set up Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: "lint" | |
| run: ./gradlew lint ktlintCheck | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "Set up Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: "Test" | |
| run: ./gradlew test | |
| check_coverage: | |
| runs-on: macos-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "Set up Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: "Check if coverage is satisfied" | |
| run: ./gradlew koverVerify | |
| api_validation: | |
| runs-on: macos-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "Set up Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: "Validates the Api" | |
| run: ./gradlew apiCheck | |
| assemble: | |
| needs: [lint, test, check_coverage] | |
| runs-on: macos-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "Set up Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: "Assemble" | |
| run: ./gradlew assemble | |
| upload_coverage: | |
| needs: [assemble] | |
| runs-on: macos-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| - name: "Set up Java" | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: '17' | |
| - name: "Create coverage reports" | |
| run: ./gradlew koverXmlReport | |
| - name: "Upload coverage to codecov" | |
| uses: codecov/[email protected] | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./control-core/build/reports/kover/report.xml | |
| fail_ci_if_error: true |