chore(deps): bump kotlinVersion in /auto-pipeline-examples #617
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
# Quickstart for GitHub Actions | |
# https://docs.github.com/en/actions/quickstart | |
name: Strong CI | |
on: | |
push: | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
test: | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: CI by multiply java versions | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: setup Java 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: zulu | |
# only first java setup need enable cache | |
cache: maven | |
- name: setup Java 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: microsoft | |
- name: setup Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: microsoft | |
- name: setup Java 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: zulu | |
- run: scripts/integration_test | |
- name: remove self maven install files | |
run: rm -rf $HOME/.m2/repository/com/foldright/auto-pipeline/ | |
- name: Upload coverage to Codecov | |
# https://github.com/marketplace/actions/codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
name: codecov-umbrella | |
token: ${{ secrets.CODECOV_TOKEN }} |