Skip to content

Commit 305ba48

Browse files
fix workflows
1 parent b9cbdac commit 305ba48

3 files changed

Lines changed: 28 additions & 40 deletions

File tree

.github/workflows/_codeql.yml

Lines changed: 26 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
132

143
on:
@@ -28,38 +17,37 @@ jobs:
2817
fail-fast: false
2918

3019
steps:
31-
- name: Checkout repository
32-
uses: actions/checkout@v5
20+
- name: Checkout repository
21+
uses: actions/checkout@v5
3322

34-
# Initializes the CodeQL tools for scanning.
35-
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@v4
37-
with:
38-
languages: ${{ matrix.language }}
39-
# If you wish to specify custom queries, you can do so here or in a config file.
40-
# By default, queries listed here will override any specified in a config file.
41-
# Prefix the list here with "+" to use these queries and those in the config file.
23+
# Initializes the CodeQL tools for scanning.
24+
- name: Initialize CodeQL
25+
uses: github/codeql-action/init@v4
26+
with:
27+
# If you wish to specify custom queries, you can do so here or in a config file.
28+
# By default, queries listed here will override any specified in a config file.
29+
# Prefix the list here with "+" to use these queries and those in the config file.
4230

43-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
44-
# queries: security-extended,security-and-quality
31+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
32+
# queries: security-extended,security-and-quality
4533

4634

47-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
48-
# If this step fails, then you should remove it and run the build manually (see below)
49-
- name: Autobuild
50-
uses: github/codeql-action/autobuild@v4
35+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
36+
# If this step fails, then you should remove it and run the build manually (see below)
37+
- name: Autobuild
38+
uses: github/codeql-action/autobuild@v4
5139

52-
# ℹ️ Command-line programs to run using the OS shell.
53-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
40+
# ℹ️ Command-line programs to run using the OS shell.
41+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
5442

55-
# If the Autobuild fails above, remove it and uncomment the following three lines.
56-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
43+
# If the Autobuild fails above, remove it and uncomment the following three lines.
44+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
5745

58-
# - run: |
59-
# echo "Run, Build Application using script"
60-
# ./location_of_script_within_repo/buildscript.sh
46+
# - run: |
47+
# echo "Run, Build Application using script"
48+
# ./location_of_script_within_repo/buildscript.sh
6149

62-
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@v4
64-
with:
65-
category: "/language:java"
50+
- name: Perform CodeQL Analysis
51+
uses: github/codeql-action/analyze@v4
52+
with:
53+
category: "/language:java"

.github/workflows/_publish-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- id: install-secret-key
1717
name: Install GPG secret key
1818
run: |
19-
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
19+
echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
2020
gpg --list-secret-keys --keyid-format LONG
2121
2222
- name: Set up JDK

.github/workflows/_publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Delombok
2727
run: |
2828
LOMBOK_VERSION=$(mvn help:evaluate -Dexpression=org.projectlombok.version -q -DforceStdout)
29-
java -jar ./target/dependency/lombok-$LOMBOK_VERSION.jar delombok src -d src-delomboked
29+
java -jar ./target/dependency/lombok-"$LOMBOK_VERSION".jar delombok src -d src-delomboked
3030
mv src src-lomboked
3131
mv src-delomboked src
3232

0 commit comments

Comments
 (0)