From e233e79be25e61d17152be83136b0939d735cbe8 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Tue, 28 Nov 2023 13:59:39 +0800 Subject: [PATCH] update test-intellij --- .../{intellij-test.yml => test-intellij.yml} | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) rename .github/workflows/{intellij-test.yml => test-intellij.yml} (68%) diff --git a/.github/workflows/intellij-test.yml b/.github/workflows/test-intellij.yml similarity index 68% rename from .github/workflows/intellij-test.yml rename to .github/workflows/test-intellij.yml index fe64b89f3114..d13a1f96efb3 100644 --- a/.github/workflows/intellij-test.yml +++ b/.github/workflows/test-intellij.yml @@ -1,17 +1,18 @@ -name: Test IntelliJ Plugin +name: test on: - push: - branches: [ main ] - paths: - - '.github/workflows/intellij-test.yml' - - 'clients/intellij/**' pull_request: branches: [ main ] paths: - - '.github/workflows/intellij-test.yml' + - '.github/workflows/test-intellij.yml' - 'clients/intellij/**' +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} + + # If this is enabled it will cancel current running and start latest + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest