mirror of
https://github.com/ivuorinen/f2b.git
synced 2026-01-26 11:24:00 +00:00
chore(deps): update workflows, pre-commit repos (#46)
* chore(deps): update pre-commit and gh workflows * chore(lint): pre-commit editorconfig-checker repo * fix(deps): use correct checkmake repo
This commit is contained in:
2
.github/workflows/claude.yml
vendored
2
.github/workflows/claude.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
actions: read # Required for Claude to read CI results on PRs
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
|
||||
6
.github/workflows/pr-lint.yml
vendored
6
.github/workflows/pr-lint.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Cache pre-commit
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ~/.cache/pre-commit
|
||||
key: ${{ runner.os }}-precommit-${{ hashFiles('.pre-commit-config.yaml') }}
|
||||
@@ -75,4 +75,4 @@ jobs:
|
||||
- name: Run PR Lint
|
||||
# Custom PR linting action that performs additional PR-specific checks
|
||||
# https://github.com/ivuorinen/actions
|
||||
uses: ivuorinen/actions/pr-lint@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4
|
||||
uses: ivuorinen/actions/pr-lint@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 0 # Required for changelog generation
|
||||
|
||||
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -23,4 +23,4 @@ jobs:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: ivuorinen/actions/stale@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4
|
||||
- uses: ivuorinen/actions/stale@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11
|
||||
|
||||
2
.github/workflows/sync-labels.yml
vendored
2
.github/workflows/sync-labels.yml
vendored
@@ -21,4 +21,4 @@ jobs:
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- uses: ivuorinen/actions/sync-labels@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4
|
||||
- uses: ivuorinen/actions/sync-labels@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11
|
||||
|
||||
@@ -5,7 +5,7 @@ minimum_pre_commit_version: "3.4.0"
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
@@ -54,7 +54,7 @@ repos:
|
||||
hooks:
|
||||
- id: shfmt
|
||||
|
||||
- repo: https://github.com/mrtazz/checkmake
|
||||
- repo: https://github.com/checkmake/checkmake
|
||||
rev: 0.2.2
|
||||
hooks:
|
||||
- id: checkmake
|
||||
@@ -62,7 +62,7 @@ repos:
|
||||
files: ^Makefile$
|
||||
|
||||
- repo: https://github.com/bridgecrewio/checkov.git
|
||||
rev: "3.2.457"
|
||||
rev: "3.2.461"
|
||||
hooks:
|
||||
- id: checkov
|
||||
args:
|
||||
@@ -74,11 +74,7 @@ repos:
|
||||
- id: check-github-workflows
|
||||
args: ["--verbose"]
|
||||
|
||||
- repo: local
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker
|
||||
rev: v3.4.0
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
name: EditorConfig Checker
|
||||
entry: editorconfig-checker
|
||||
language: system
|
||||
files: \.(md|go|sh|ya?ml|json|toml|txt|makefile|Makefile)$
|
||||
types: [file]
|
||||
|
||||
2
Makefile
2
Makefile
@@ -72,7 +72,7 @@ dev-deps: ## Install development dependencies
|
||||
}
|
||||
@command -v checkmake >/dev/null 2>&1 || { \
|
||||
echo "Installing checkmake..."; \
|
||||
go install github.com/mrtazz/checkmake/cmd/checkmake@latest; \
|
||||
go install github.com/checkmake/checkmake/cmd/checkmake@latest; \
|
||||
}
|
||||
@command -v golines >/dev/null 2>&1 || { \
|
||||
echo "Installing golines..."; \
|
||||
|
||||
Reference in New Issue
Block a user