Update actions/setup-java action to v6 #421
Workflow file for this run
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors | |
| # SPDX-FileCopyrightText: 2022-2023 Tobias Kaminsky <tobias@kaminsky.me | |
| # SPDX-FileCopyrightText: 2022-2023 Álvaro Brey <alvaro@alvarobrey.com> | |
| # SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de> | |
| # SPDX-License-Identifier: GPL-3.0-or-later | |
| name: Lint workflow files | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| # Declare default permissions as read only. | |
| permissions: read-all | |
| concurrency: | |
| group: lint-android-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| actionlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Download actionlint | |
| run: | | |
| cd /tmp | |
| wget https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash | |
| chmod +x ./download-actionlint.bash && ./download-actionlint.bash | |
| - name: Lint repo workflows | |
| run: /tmp/actionlint | |
| - name: Lint synced workflows | |
| run: | | |
| cd config/workflows | |
| /tmp/actionlint ./*.yml |