From 97e8f42b8a7691936ca607eb7ff11b06f7a0a36b Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Fri, 28 Jan 2022 14:04:37 -0800 Subject: [PATCH 1/8] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..42313fd37b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Qodana + +on: + workflow_dispatch: + push: + branches: [ main ] + pull_request: + branches: [ main, feature/* ] + + +jobs: + qodana: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v4.2.2 + with: + linter: jetbrains/qodana-jvm From 105682386b709c4456427686ecf176a68ea04079 Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Wed, 18 Jan 2023 14:56:24 -0800 Subject: [PATCH 2/8] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 42313fd37b..1da78d337f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v4.2.2 + - uses: actions/checkout@v3 with: - linter: jetbrains/qodana-jvm + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2022.3.0 From eec939221e43e63454e85b3fe9b06bdfffb1d405 Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Wed, 26 Apr 2023 19:28:29 -0700 Subject: [PATCH 3/8] Update main.yml --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1da78d337f..6856076b49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,12 @@ on: jobs: qodana: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2022.3.0 + uses: JetBrains/qodana-action@v2023.1.0 + - uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json From c328f9887de565acd136a97720854ec2add55e96 Mon Sep 17 00:00:00 2001 From: Richard Li Date: Wed, 26 Apr 2023 19:40:15 -0700 Subject: [PATCH 4/8] qodana.yaml --- qodana.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 qodana.yaml diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000000..67eaa5cb8c --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,3 @@ +version: 1.0 +dot-net: + solution: ReSharper.AWS.sln From 4e9f26093995943c5bfcac8cf4c51b3592b1a0cc Mon Sep 17 00:00:00 2001 From: Richard Li Date: Wed, 26 Apr 2023 20:34:17 -0700 Subject: [PATCH 5/8] yaml --- qodana.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qodana.yaml b/qodana.yaml index 67eaa5cb8c..b812372b36 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -1,3 +1,4 @@ -version: 1.0 +version: "1.0" +linter: jetbrains/qodana-jvm:2023.1-eap dot-net: solution: ReSharper.AWS.sln From 6e2ea53f3a4fde205a0836fead8ea4df2bbd55a1 Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Wed, 26 Apr 2023 21:36:52 -0700 Subject: [PATCH 6/8] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6856076b49..36138bd59f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,8 @@ jobs: fetch-depth: 0 - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.1.0 + with: + pr-mode: false - uses: github/codeql-action/upload-sarif@v2 with: sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json From 8e35fd6561eaaacd3c5c4fbac609ddb56d7502f3 Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Fri, 28 Apr 2023 11:54:55 -0700 Subject: [PATCH 7/8] Update main.yml --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 36138bd59f..bd38ec758e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,9 @@ on: pull_request: branches: [ main, feature/* ] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: qodana: @@ -18,7 +21,7 @@ jobs: - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.1.0 with: - pr-mode: false + cache-default-branch-only: true - uses: github/codeql-action/upload-sarif@v2 with: sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json From 1166742adfc833aa1a06b17c468e88b80cde81e4 Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Fri, 28 Apr 2023 12:07:44 -0700 Subject: [PATCH 8/8] Rename main.yml to qodana.yml --- .github/workflows/{main.yml => qodana.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{main.yml => qodana.yml} (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/qodana.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/qodana.yml