From 5fd75da7db45186b324acc1ecf95b2f4db612653 Mon Sep 17 00:00:00 2001 From: Eugene Date: Sun, 6 Oct 2024 23:30:21 +0900 Subject: [PATCH] Bump pre-commit/pre-commit-hooks from 4.6.0 to 5.0.0 (#10) ## Pull request checklist Please check if your PR fulfills the following requirements: - [ ] I have read the [CONTRIBUTING](https://github.com/fabasoad/setup-mark-action/blob/main/CONTRIBUTING.md) doc. - [ ] Tests for the changes have been added (for bug fixes / features). - [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features). ## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior ## What is the new behavior - - - ## Does this introduce a breaking change - [ ] Yes - [ ] No ## Other information --- Closes #{IssueNumber} --- .github/workflows/functional-tests.yml | 2 +- .pre-commit-config.yaml | 8 ++++---- README.md | 2 +- src/install-mark.sh | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index e656d83..f47aebf 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu", "macos"] - version: ["latest", "11.0.1", "11.0.0", "10.0.1", "10.0.0", "9.13.0"] + version: ["latest", "11.1.0", "11.0.1", "11.0.0", "10.0.1", "10.0.0"] runs-on: ${{ matrix.os }}-latest steps: - name: Checkout ${{ github.repository }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1897db2..af3af4b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: detect-secrets stages: ["commit", "push"] - repo: https://github.com/gitleaks/gitleaks - rev: v8.19.2 + rev: v8.20.0 hooks: - id: gitleaks stages: ["commit", "push"] @@ -36,7 +36,7 @@ repos: stages: ["push"] # Markdown - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.41.0 + rev: v0.42.0 hooks: - id: markdownlint-fix # Shell @@ -54,14 +54,14 @@ repos: stages: ["push"] # GitHub Actions - repo: https://github.com/rhysd/actionlint - rev: v1.7.1 + rev: v1.7.3 hooks: - id: actionlint args: ["-pyflakes="] stages: ["commit"] # Other - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-executables-have-shebangs stages: ["commit"] diff --git a/README.md b/README.md index 970d27a..85bb650 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ action: - uses: fabasoad/setup-mark-action@v1 with: # (Optional) mark version. Defaults to "latest". - version: "9.11.1" + version: "11.1.0" ``` ## Outputs diff --git a/src/install-mark.sh b/src/install-mark.sh index 65e8610..9f2d929 100755 --- a/src/install-mark.sh +++ b/src/install-mark.sh @@ -6,7 +6,7 @@ main() { # shellcheck disable=SC2039 if command -v mark >/dev/null 2>&1; then msg="$(mark --version) is already installed. Skipping installation." - printf "[setup-mark-action] %s level=info %s\n" "$(date +'%Y-%m-%d %T')" "${msg}" + printf "[info] [setup-mark-action] %s %s\n" "$(date +'%Y-%m-%d %T')" "${msg}" exit 0 fi