Configure Renovate #179
This file contains 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: Learn Kotlin 🧑🏫 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cancel-previous: | |
name: Cancel Previous | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Build | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
test: | |
name: "Test & Report" | |
runs-on: ubuntu-latest | |
needs: cancel-previous | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test report | |
- name: Report | |
uses: codecov/[email protected] | |
with: | |
files: ./build/reports/kover/result.xml |