From 51082e250f52ec8c7d81920cfa1ffc22df2ca6a2 Mon Sep 17 00:00:00 2001 From: kyoppii13 Date: Wed, 14 Feb 2024 17:38:23 +0900 Subject: [PATCH 1/3] update github actions package --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/codeql-analysis.yml | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8de8d9223d..2bce8125f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,12 @@ jobs: matrix: ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: zulu + java-version: 8 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Run tests in Docker diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 49b0fc4a8a..c38b2fd596 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -15,17 +15,17 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ matrix.ref }} - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: java - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From d4bc3e32c295e29a285d02a29007a0772b3f0764 Mon Sep 17 00:00:00 2001 From: kyoppii13 Date: Wed, 14 Feb 2024 17:53:37 +0900 Subject: [PATCH 2/3] test of codeql --- .github/workflows/codeql-analysis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c38b2fd596..0f227e1f0b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,9 +1,12 @@ name: "Code scanning" on: - schedule: - # Friday 8AM UTC / Friday 5PM JST - - cron: '0 8 * * 5' + # schedule: + # # Friday 8AM UTC / Friday 5PM JST + # - cron: '0 8 * * 5' + pull_request: + branches: + - master jobs: CodeQL-Build: From 27e3cbd3f0ebfc8c92476c412deaf3f51e1b38a9 Mon Sep 17 00:00:00 2001 From: kyoppii13 Date: Wed, 14 Feb 2024 18:07:34 +0900 Subject: [PATCH 3/3] Revert "test of codeql" This reverts commit d4bc3e32c295e29a285d02a29007a0772b3f0764. --- .github/workflows/codeql-analysis.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0f227e1f0b..c38b2fd596 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,12 +1,9 @@ name: "Code scanning" on: - # schedule: - # # Friday 8AM UTC / Friday 5PM JST - # - cron: '0 8 * * 5' - pull_request: - branches: - - master + schedule: + # Friday 8AM UTC / Friday 5PM JST + - cron: '0 8 * * 5' jobs: CodeQL-Build: