Commit d0b7bf1

Karn Wong <[email protected]>
2024-11-24 08:13:08
pre-commit: bump revs tag: v0.3.3
1 parent 7971cbc
.github/workflows/go-test.yaml
@@ -1,4 +1,3 @@
----
 name: Go Test
 on:
   pull_request:
.github/workflows/release.yaml
@@ -1,14 +1,10 @@
----
 name: Release
-
 on:
   push:
     tags:
       - "*"
-
 permissions:
   contents: write
-
 jobs:
   release-binary:
     runs-on: ubuntu-latest
.github/dependabot.yaml
@@ -1,4 +1,3 @@
----
 version: 2
 updates:
   - package-ecosystem: github-actions
.goreleaser.yaml
@@ -1,6 +1,4 @@
----
 version: 2
-
 builds:
   - goos:
       - linux
.pre-commit-config.yaml
@@ -1,7 +1,6 @@
----
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.6.0
+    rev: v5.0.0
     hooks:
       - id: trailing-whitespace
       - id: end-of-file-fixer
@@ -15,19 +14,14 @@ repos:
       - id: detect-private-key
       - id: fix-byte-order-marker
       - id: mixed-line-ending
-  - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
-    rev: 0.2.3
-    hooks:
-      - id: yamlfmt
-        args: [--mapping, "2", --sequence, "4", --offset, "2", --width, "150", --preserve-quotes]
-        exclude: ^.github/dependabot.yaml
-#        exclude: (sops\.yaml)$
   - repo: https://github.com/kahnwong/pre-commit
-    rev: 71489eb
+    rev: "791fd68"
     hooks:
+      - id: go-build
       - id: go-fmt
-      - id: go-vet
       - id: go-imports
-      - id: golangci-lint
-      - id: go-build
       - id: go-mod-tidy
+      - id: go-unit-tests
+      - id: go-vet
+      - id: golangci-lint
+      - id: yamlfmt