Skip to content

Commit d106506

Browse files
committed
Actions.
1 parent 0664938 commit d106506

File tree

5 files changed

+29
-22
lines changed

5 files changed

+29
-22
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
env:
1414
MAVEN_OPTS: -Dhttp.keepAlive=false
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-java@v4
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-java@v5
1818
with:
1919
distribution: zulu
2020
java-version: 17
21-
- uses: actions/cache@v3
21+
- uses: actions/cache@v5
2222
with:
2323
path: ~/.m2/repository
2424
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/codeql.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL"
12+
name: "CodeQL Advanced"
1313

1414
on:
1515
push:
16-
branches: [ "master" ]
16+
branches: [ "main", "master", "v*" ]
1717
pull_request:
18-
branches: [ "master" ]
18+
branches: [ "main", "master", "v*" ]
1919
schedule:
2020
- cron: '22 1 * * 5'
2121

@@ -28,7 +28,6 @@ jobs:
2828
# - https://gh.io/using-larger-runners (GitHub.com only)
2929
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
3030
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31-
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
3231
permissions:
3332
# required for all workflows
3433
security-events: write
@@ -44,9 +43,11 @@ jobs:
4443
fail-fast: false
4544
matrix:
4645
include:
46+
- language: actions
47+
build-mode: none
4748
- language: java-kotlin
4849
build-mode: none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
49-
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
50+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
5051
# Use `c-cpp` to analyze code written in C, C++ or both
5152
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
5253
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
@@ -56,9 +57,14 @@ jobs:
5657
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5758
steps:
5859
- name: Checkout repository
59-
uses: actions/checkout@v4
60+
uses: actions/checkout@v6
6061

61-
- uses: actions/cache@v3
62+
# Add any setup steps before running the `github/codeql-action/init` action.
63+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
64+
# or others). This is typically only required for manual builds.
65+
# - name: Setup runtime (example)
66+
# uses: actions/setup-example@v1
67+
- uses: actions/cache@v5
6268
with:
6369
path: ~/.m2/repository
6470
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -67,7 +73,7 @@ jobs:
6773
6874
# Initializes the CodeQL tools for scanning.
6975
- name: Initialize CodeQL
70-
uses: github/codeql-action/init@v3
76+
uses: github/codeql-action/init@v4
7177
with:
7278
languages: ${{ matrix.language }}
7379
build-mode: ${{ matrix.build-mode }}
@@ -84,7 +90,8 @@ jobs:
8490
# to build your code.
8591
# ℹ️ Command-line programs to run using the OS shell.
8692
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
87-
- if: matrix.build-mode == 'manual'
93+
- name: Run manual build steps
94+
if: matrix.build-mode == 'manual'
8895
shell: bash
8996
run: |
9097
echo 'If you are using a "manual" build mode for one or more of the' \
@@ -95,6 +102,6 @@ jobs:
95102
exit 1
96103
97104
- name: Perform CodeQL Analysis
98-
uses: github/codeql-action/analyze@v3
105+
uses: github/codeql-action/analyze@v4
99106
with:
100107
category: "/language:${{matrix.language}}"

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
env:
1414
MAVEN_OPTS: -Dhttp.keepAlive=false
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-java@v4
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-java@v5
1818
with:
1919
distribution: temurin
2020
java-version: 17
@@ -27,7 +27,7 @@ jobs:
2727
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
2828
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2929
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
30-
- uses: ncipollo/release-action@v1
30+
- uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b
3131
with:
3232
artifacts: target/*.jar
3333
bodyFile: target/release.md

.github/workflows/snapshot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
env:
1313
MAVEN_OPTS: -Dhttp.keepAlive=false
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-java@v4
15+
- uses: actions/checkout@v6
16+
- uses: actions/setup-java@v5
1717
with:
1818
distribution: temurin
1919
java-version: 17
2020
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2121
server-id: central
2222
server-username: MAVEN_USERNAME
2323
server-password: MAVEN_PASSWORD
24-
- uses: actions/cache@v3
24+
- uses: actions/cache@v5
2525
with:
2626
path: ~/.m2/repository
2727
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/sonar.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
env:
1010
MAVEN_OPTS: -Dhttp.keepAlive=false
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
with:
1414
fetch-depth: 0
15-
- uses: actions/setup-java@v4
15+
- uses: actions/setup-java@v5
1616
with:
1717
distribution: temurin
1818
java-version: 17
19-
- uses: actions/cache@v3
19+
- uses: actions/cache@v5
2020
with:
2121
path: ~/.m2/repository
2222
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)