Skip to content

Merge pull request #34 from alllex/github-actions-update #55

Merge pull request #34 from alllex/github-actions-update

Merge pull request #34 from alllex/github-actions-update #55

Workflow file for this run

name: Check
on:
workflow_dispatch: { }
pull_request: { }
push:
branches: [ main ]
tags: [ 'v*' ]
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
gradle:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version-file: .github/workflows/.ci-java-version
- name: Cache Kotlin Konan
id: cache-kotlin-konan
uses: actions/cache@v4
with:
path: |
~/.konan/**/*
key: kotlin-konan-${{ runner.os }}
- uses: gradle/actions/setup-gradle@v4
- name: Check
run: ./gradlew check