File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 - id : install-secret-key
2828 name : Install GPG secret key
2929 run : |
30- cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
30+ printf '%s' "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
3131 gpg --list-secret-keys --keyid-format LONG
3232
3333 - name : Set up JDK ${{ matrix.java-version }}
Original file line number Diff line number Diff line change 3535 - name : Initialize CodeQL
3636 uses : github/codeql-action/init@v4
3737 with :
38- languages : ${{ matrix.language }}
38+ languages : java
3939 # If you wish to specify custom queries, you can do so here or in a config file.
4040 # By default, queries listed here will override any specified in a config file.
4141 # Prefix the list here with "+" to use these queries and those in the config file.
Original file line number Diff line number Diff line change 44 workflow_call :
55 workflow_dispatch :
66
7+ permissions :
8+ security-events : write
9+
710jobs :
811 publish :
912 runs-on : ubuntu-latest
1619 - id : install-secret-key
1720 name : Install GPG secret key
1821 run : |
19- cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
22+ printf '%s' "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
2023 gpg --list-secret-keys --keyid-format LONG
2124
2225 - name : Set up JDK
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ name : Lint workflows
2+
3+ on :
4+ workflow_call :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ actionlint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Download actionlint
15+ id : get_actionlint
16+ run : bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
17+ shell : bash
18+ - name : Run actionlint
19+ run : ${{ steps.get_actionlint.outputs.executable }} -color
20+ shell : bash
Original file line number Diff line number Diff line change 66
77permissions :
88 contents : read
9+ actions : read
910
1011jobs :
1112 codeql :
Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ permissions:
88 pull-requests : read
99
1010jobs :
11+ workflow-lint :
12+ uses : ./.github/workflows/_workflow_lint.yml
1113 static_analysis :
1214 uses : ./.github/workflows/_static-analysis.yml
15+ needs : workflow-lint
1316 build :
1417 uses : ./.github/workflows/_build.yml
1518 needs : static_analysis
You can’t perform that action at this time.
0 commit comments