From 16bb199e482e47d3ade57851c788abeec9338d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chastanet?= Date: Wed, 20 Nov 2024 09:30:10 +0100 Subject: [PATCH] update workflows and pre-commit configuration to use latest action versions --- .bash-compiler | 1 + .github/workflows/lint-test.yml | 8 ++++---- .github/workflows/precommit-autoupdate.yml | 2 +- .pre-commit-config-github.yaml | 6 +++--- .pre-commit-config.yaml | 6 +++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.bash-compiler b/.bash-compiler index 20a6e524..825ed727 100644 --- a/.bash-compiler +++ b/.bash-compiler @@ -1,2 +1,3 @@ FRAMEWORK_ROOT_DIR=${ROOT_DIR}/vendor/bash-tools-framework BASH_TOOLS_ROOT_DIR=${ROOT_DIR} +TEMPLATES_ROOT_DIR=${HOME}/fchastanet/bash-compiler/examples/templates diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index 8244345b..a06b11d4 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -74,7 +74,7 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - uses: tibdex/github-app-token@v1 + - uses: tibdex/github-app-token@v2 if: ${{ success() }} id: generate-token with: @@ -239,7 +239,7 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - uses: tibdex/github-app-token@v1 + - uses: tibdex/github-app-token@v2 if: ${{ success() }} id: generate-token with: @@ -292,7 +292,7 @@ jobs: exit "${status}" - name: Publish Test Report - uses: mikepenz/action-junit-report@v4 + uses: mikepenz/action-junit-report@v5 if: ${{ always()}} with: token: ${{ github.token }} @@ -303,7 +303,7 @@ jobs: report_paths: "logs/**.xml" - name: Checkstyle aggregation - uses: lcollins/checkstyle-github-action@v3.0.0 + uses: lcollins/checkstyle-github-action@v3.1.0 with: path: "logs/*.xml" diff --git a/.github/workflows/precommit-autoupdate.yml b/.github/workflows/precommit-autoupdate.yml index 815760d1..bdc986d6 100644 --- a/.github/workflows/precommit-autoupdate.yml +++ b/.github/workflows/precommit-autoupdate.yml @@ -30,7 +30,7 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - uses: tibdex/github-app-token@v1 + - uses: tibdex/github-app-token@v2 id: generate-token with: app_id: ${{ secrets.APP_ID }} diff --git a/.pre-commit-config-github.yaml b/.pre-commit-config-github.yaml index 694c999e..8d789cf9 100644 --- a/.pre-commit-config-github.yaml +++ b/.pre-commit-config-github.yaml @@ -25,7 +25,7 @@ repos: - repo: https://github.com/executablebooks/mdformat # Do this before other tools "fixing" the line endings - rev: 0.7.17 + rev: 0.7.19 hooks: - id: mdformat name: Format Markdown @@ -94,7 +94,7 @@ repos: )$ - repo: https://github.com/rhysd/actionlint - rev: v1.7.3 + rev: v1.7.4 hooks: - id: actionlint stages: [pre-commit, pre-push, manual] @@ -210,6 +210,6 @@ repos: stages: [manual] # GITHUB - repo: https://github.com/fchastanet/bash-compiler - rev: v2.0.0 + rev: v3.0.0 hooks: - id: buildBashBinaries diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fde8c2e..cb2f1294 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - repo: https://github.com/executablebooks/mdformat # Do this before other tools "fixing" the line endings - rev: 0.7.17 + rev: 0.7.19 hooks: - id: mdformat name: Format Markdown @@ -89,7 +89,7 @@ repos: )$ - repo: https://github.com/rhysd/actionlint - rev: v1.7.3 + rev: v1.7.4 hooks: - id: actionlint stages: [pre-commit, pre-push, manual] @@ -205,6 +205,6 @@ repos: stages: [] # GITHUB - repo: https://github.com/fchastanet/bash-compiler - rev: v2.0.0 + rev: v3.0.0 hooks: - id: buildBashBinaries