mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
01285666c7
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.6.0...3df4ab11eba7bda6032a0b82a6bb43b11571feac) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
841 B
YAML
29 lines
841 B
YAML
name: Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master, stable-* ]
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
concurrency:
|
|
group: check-kotlin-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
task: [ detekt, spotlessKotlinCheck ]
|
|
steps:
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: 17
|
|
- name: Check ${{ matrix.task }}
|
|
run: ./gradlew ${{ matrix.task }}
|