[WIP] Dynamic #711
Workflow file for this run
This file contains 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: 2006-2023, Knut Reinert & Freie Universität Berlin | |
# SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik | |
# SPDX-License-Identifier: CC0-1.0 | |
name: Lint | |
on: | |
pull_request_target: | |
env: | |
TZ: Europe/Berlin | |
defaults: | |
run: | |
shell: bash -Eeuxo pipefail {0} | |
jobs: | |
# Cancel other workflows that are dependent on this workflow by adding jobs that have the same concurrency group. | |
cancel_linux: | |
name: Cancel running Workflows | |
concurrency: | |
group: linux-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel Linux" | |
run: echo "Cancelling Linux" | |
cancel_macos: | |
name: Cancel running Workflows | |
concurrency: | |
group: macos-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel macOS" | |
run: echo "Cancelling macOS" | |
cancel_misc: | |
name: Cancel running Workflows | |
concurrency: | |
group: misc-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel Misc" | |
run: echo "Cancelling Misc" | |
cancel_coverage: | |
name: Cancel running Workflows | |
concurrency: | |
group: coverage-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel Coverage" | |
run: echo "Cancelling Coverage" | |
cancel_documentation: | |
name: Cancel running Workflows | |
concurrency: | |
group: documentation-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel Documentation" | |
run: echo "Cancelling Documentation" | |
cancel_util: | |
name: Cancel running Workflows | |
concurrency: | |
group: util-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Cancel Util" | |
run: echo "Cancelling Util" | |
lint: | |
name: Lint | |
concurrency: | |
group: lint-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
needs: [cancel_linux, cancel_macos, cancel_misc, cancel_coverage, cancel_documentation, cancel_util] | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Run lint | |
uses: seqan/actions/lint@main | |
with: | |
clang_format: 18 | |
token: ${{ secrets.SEQAN_ACTIONS_PAT }} | |
gpg_key: ${{ secrets.SEQAN_ACTIONS_GPG_KEY }} | |
gpg_passphrase: ${{ secrets.SEQAN_ACTIONS_GPG_PASSPHRASE }} |