File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,20 @@ jobs:
2121 uses : actions/checkout@v2
2222 with :
2323 token : ${{ secrets.GITHUB_TOKEN }}
24+
2425 - name : Get Version
2526 id : VERSION
2627 run : |
2728 MAVEN_METADATA=https://repo1.maven.org/maven2/com/puppycrawl/tools/checkstyle/maven-metadata.xml
2829 LATEST_VERSION=$(curl $MAVEN_METADATA | grep -oPm1 "(?<=<latest>)[^<]+")
2930 echo "::set-output name=LATEST_VERSION::$LATEST_VERSION"
31+
3032 - name : Run Shell Script
3133 run : |
3234 ./.ci/bump-cs-version-in-sevntu-checks.sh ${{ steps.VERSION.outputs.LATEST_VERSION }}
3335 ./.ci/bump-cs-version-in-sonar-plugin.sh ${{ steps.VERSION.outputs.LATEST_VERSION }}
3436 ./.ci/bump-cs-version-in-eclipsecs-plugin.sh ${{ steps.VERSION.outputs.LATEST_VERSION }}
37+
3538 - name : Commit and Push
3639 run : |
3740 if [ "$(git status | grep 'Changes not staged\|Untracked files')" ]; then
Original file line number Diff line number Diff line change @@ -19,12 +19,15 @@ jobs:
1919 steps :
2020 - name : Checkout the latest code
2121 uses : actions/checkout@v3
22+
2223 - name : Set Current Year
2324 run : |
2425 echo "YEAR=$(date +'%Y')" >> "$GITHUB_ENV"
26+
2527 - name : Modify Files
2628 run : |
2729 ./.ci/bump-license-year.sh $(("${{ env.YEAR }}" - 1)) ${{ env.YEAR }} .
30+
2831 - name : Push commit
2932 run : |
3033 git config user.name 'github-actions[bot]'
Original file line number Diff line number Diff line change @@ -28,11 +28,15 @@ jobs:
2828 uses : actions/setup-java@v1
2929 with :
3030 java-version : 11
31+
3132 - name : Install groovy
3233 run : sudo apt install groovy
34+
3335 - name : Checkout
3436 uses : actions/checkout@v2
37+
3538 - name : Checks Setup
3639 run : ./.ci/checks-no-exception.sh setup
40+
3741 - name : Execute
3842 run : ./.ci/checks-no-exception.sh ${{ matrix.profile }}
Original file line number Diff line number Diff line change 3232
3333 <!-- Suppressed until https://github.com/checkstyle/checkstyle/pull/12900
3434 is merged and 10.9.3 is released. -->
35- <suppress id =" workflowJobStepSpacing" files =" .* " />
35+ <suppress id =" workflowJobStepSpacing" files =" ^.((?!github[\\/]workflows[\\/]).)*$ " />
3636</suppressions >
You can’t perform that action at this time.
0 commit comments