5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 03:40:28 +00:00

Limit concurrency of CI runs

This commit is contained in:
Neil Alexander 2022-04-18 10:30:40 +01:00
parent e9caf989b8
commit 55f7874b35
2 changed files with 21 additions and 13 deletions

View File

@ -6,6 +6,10 @@ on:
release:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint

View File

@ -6,6 +6,10 @@ on:
pull_request:
branches: [develop, master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
@ -18,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
language: ["go"]
steps:
- name: Checkout repository