2023-02-14 02:46:55 +00:00
|
|
|
# synced from @nextcloud/android-config
|
2024-02-29 19:23:57 +00:00
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de>
|
|
|
|
# SPDX-FileCopyrightText: 2023 Tobias Kaminsky <tobias@kaminsky.me>
|
|
|
|
# SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2021-04-22 11:06:55 +01:00
|
|
|
name: "Validate Gradle Wrapper"
|
|
|
|
on:
|
2023-02-14 02:46:55 +00:00
|
|
|
pull_request:
|
|
|
|
branches: [ master, stable-* ]
|
|
|
|
push:
|
|
|
|
branches: [ master, stable-* ]
|
2021-04-22 11:06:55 +01:00
|
|
|
|
2022-12-16 11:24:03 +00:00
|
|
|
# Declare default permissions as read only.
|
|
|
|
permissions: read-all
|
|
|
|
|
2023-06-08 08:39:36 +01:00
|
|
|
concurrency:
|
|
|
|
group: validate-gradle-wrapper-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-04-22 11:06:55 +01:00
|
|
|
jobs:
|
2023-02-14 02:46:55 +00:00
|
|
|
validation:
|
|
|
|
name: "Validation"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-13 06:55:24 +01:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2024-06-17 23:01:26 +01:00
|
|
|
- uses: gradle/wrapper-validation-action@88425854a36845f9c881450d9660b5fd46bee142 # v3.4.2
|