From 6f3ada27aea09e61cfd92b0a2f6423f6eaa05e6c Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 27 Jul 2024 21:46:47 +0300 Subject: [PATCH] hmm --- .github/workflows/ci.yaml | 19 +++++++++++++++---- .github/workflows/man-update.yaml | 7 +++---- .github/workflows/nix-ci.yml | 10 ++++++---- .github/workflows/security-checks.yml | 7 +++---- 4 files changed, 27 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a86be757..1462a674 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,14 +1,13 @@ name: Build Hyprland -concurrency: - group: ${{ github.ref }} - cancel-in-progress: true - on: [push, pull_request, workflow_dispatch] jobs: gcc: name: "Build Hyprland (Arch)" runs-on: ubuntu-latest + concurrency: + group: gcc + cancel-in-progress: true container: image: archlinux steps: @@ -50,6 +49,9 @@ jobs: meson: name: "Build Hyprland with Meson (Arch)" runs-on: ubuntu-latest + concurrency: + group: meson + cancel-in-progress: true container: image: archlinux steps: @@ -70,6 +72,9 @@ jobs: no-pch: name: "Build Hyprland without precompiled headers (Arch)" runs-on: ubuntu-latest + concurrency: + group: nopch + cancel-in-progress: true container: image: archlinux steps: @@ -89,6 +94,9 @@ jobs: noxwayland: name: "Build Hyprland in pure Wayland (Arch)" runs-on: ubuntu-latest + concurrency: + group: noxwayland + cancel-in-progress: true container: image: archlinux steps: @@ -109,6 +117,9 @@ jobs: clang-format: name: "Code Style (Arch)" runs-on: ubuntu-latest + concurrency: + group: clangformat + cancel-in-progress: true container: image: archlinux steps: diff --git a/.github/workflows/man-update.yaml b/.github/workflows/man-update.yaml index fbe333f3..8134dd53 100644 --- a/.github/workflows/man-update.yaml +++ b/.github/workflows/man-update.yaml @@ -8,14 +8,13 @@ on: branches: - 'main' -concurrency: - group: ${{ github.ref }} - cancel-in-progress: true - jobs: main: name: Build man pages runs-on: ubuntu-latest + concurrency: + group: man + cancel-in-progress: true steps: - name: Install deps run: sudo apt install pandoc diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index ddef3997..e83050db 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -2,18 +2,20 @@ name: Nix on: [push, pull_request, workflow_dispatch] -concurrency: - group: ${{ github.ref }} - cancel-in-progress: true - jobs: update-inputs: if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' + concurrency: + group: nixupdateinputs + cancel-in-progress: true uses: ./.github/workflows/nix-update-inputs.yml secrets: inherit build: if: always() && !cancelled() && !contains(needs.*.result, 'failure') + concurrency: + group: nixbuild + cancel-in-progress: true needs: update-inputs uses: ./.github/workflows/nix-build.yml secrets: inherit diff --git a/.github/workflows/security-checks.yml b/.github/workflows/security-checks.yml index 55ab457e..9bb8252a 100644 --- a/.github/workflows/security-checks.yml +++ b/.github/workflows/security-checks.yml @@ -2,14 +2,13 @@ name: Security Checks on: [push, pull_request] -concurrency: - group: ${{ github.ref }} - cancel-in-progress: true - jobs: flawfinder: name: Flawfinder Checks runs-on: ubuntu-latest + concurrency: + group: security + cancel-in-progress: true permissions: actions: read contents: read