Kill previous CI jobs when new pushed
@@ -3,6 +3,10 @@ name: docs stable
on:
workflow_dispatch:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
build-deploy:
runs-on: ubuntu-latest
@@ -8,6 +8,10 @@ on:
branches:
- master
@@ -24,6 +24,10 @@ on:
- lib.rs
- Cargo.toml
test:
if: github.event.pull_request.draft == false
@@ -27,6 +27,10 @@ on:
check:
@@ -38,7 +38,9 @@ env:
# - tokio-stream/Cargo.toml
# rust_min: 1.49.0
-
@@ -7,6 +7,11 @@ on:
defaults:
run:
working-directory: ./playwright-tests