2023-02-14 05:46:49 +03:00
|
|
|
# synced from @nextcloud/android-config
|
2024-02-29 22:23:51 +03: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>
|
2024-03-29 21:22:56 +03:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
2024-02-29 22:23:51 +03:00
|
|
|
|
2020-03-11 10:43:06 +03:00
|
|
|
name: "Validate Gradle Wrapper"
|
2020-05-18 14:26:16 +03:00
|
|
|
on:
|
|
|
|
pull_request:
|
2021-01-05 16:42:56 +03:00
|
|
|
branches: [ master, stable-* ]
|
2023-02-14 05:46:49 +03:00
|
|
|
push:
|
|
|
|
branches: [ master, stable-* ]
|
2020-03-11 10:43:06 +03:00
|
|
|
|
2022-06-10 09:03:43 +03:00
|
|
|
# Declare default permissions as read only.
|
|
|
|
permissions: read-all
|
|
|
|
|
2024-03-29 21:22:56 +03:00
|
|
|
concurrency:
|
2023-06-08 10:39:30 +03:00
|
|
|
group: validate-gradle-wrapper-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-03-11 10:43:06 +03:00
|
|
|
jobs:
|
|
|
|
validation:
|
|
|
|
name: "Validation"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-18 11:09:01 +03:00
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
2024-03-22 18:00:31 +03:00
|
|
|
- uses: gradle/wrapper-validation-action@b231772637bb498f11fdbc86052b6e8a8dc9fc92 # v2.1.2
|