Skip to content

Commit

Permalink
update workflows and pre-commit configuration to use latest action ve…
Browse files Browse the repository at this point in the history
…rsions
  • Loading branch information
fchastanet committed Dec 13, 2024
1 parent 9de8f82 commit c626ddf
Show file tree
Hide file tree
Showing 26 changed files with 35 additions and 32 deletions.
1 change: 1 addition & 0 deletions .bash-compiler
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/precommit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions .mega-linter-githubAction.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
EXTENDS:
- .mega-linter.yml
DISABLE:
- BASH_SHELLCHECK
SHOW_ELAPSED_TIME: false
VALIDATE_ALL_CODEBASE: true

Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -128,7 +128,7 @@ repos:
)
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
rev: v3.4.2
hooks:
- id: prettier
exclude: |
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -123,7 +123,7 @@ repos:
)
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
rev: v3.4.2
hooks:
- id: prettier
exclude: |
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/dbImport
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/dbImportProfile
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/dbImportStream
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/dbQueryAllDatabases
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/dbScriptAllDatabases
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/doc
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ Assert::tty() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/gitIsAncestorOf
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/gitIsBranch
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/gitRenameBranch
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/installRequirements
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ Assert::tty() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/mysql2puml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Assert::tty() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/postmanCli
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/upgradeGithubRelease
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/waitForIt
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion bin/waitForMysql
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion conf/dbScripts/extractData
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Bash::handlePipelineFailure() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Backup::dir() {


read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#
##!/usr/bin/env bash
# shellcheck disable=SC2034
# Default settings
Expand Down
2 changes: 1 addition & 1 deletion src/BashTools/Conf/requireLoad.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

read -r -d '\0' bashToolsDefaultConfigTemplate <<-EOM || true
#{{ include ".env" .Data . -}}
#{{ includeFile "${BASH_TOOLS_ROOT_DIR}/conf/defaultEnv/.env" -}}
EOM

# @description loads ~/.bash-tools/.env if available
Expand Down
Binary file modified src/_binaries/Converters/mysql2puml/testsData/mysql2puml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c626ddf

Please sign in to comment.