From 52ba6eae4c7554b5909dd2bd72ca6f9273201578 Mon Sep 17 00:00:00 2001 From: hemengyang Date: Thu, 19 May 2022 12:47:05 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=B0=83=E6=95=B4=20main=20=E7=9A=84?= =?UTF-8?q?=E5=B9=B6=E5=8F=91=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f37f954..b5cc8e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,13 +6,14 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build-frontend: name: Build Frontend runs-on: ubuntu-latest - concurrency: - group: build-frontend-${{ github.ref }} - cancel-in-progress: true steps: - uses: actions/checkout@v3 @@ -29,9 +30,6 @@ jobs: name: Test Coverage runs-on: ${{ matrix.os }} needs: build-frontend - concurrency: - group: test-coverage-${{ github.ref }}-${{ matrix.os }}-${{ matrix.python-version }} - cancel-in-progress: true strategy: matrix: python-version: ["3.9", "3.10"]