mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 19:36:43 +08:00
ci: 调整 main 的并发设置
This commit is contained in:
parent
052018c462
commit
52ba6eae4c
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user