Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
53845714nF authored and 53845714nF committed Dec 23, 2024
1 parent b7e7e8d commit 348e8b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
name: pre-commit

on:
pull_request:
push:
workflow_dispatch:
pull_request:
push:
workflow_dispatch:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ repos:
args: [--exclude, '**/*.patch.yaml']
files: .yml$

- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt

- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-rc.1
hooks:
- id: go-build-mod
- id: go-build-repo-mod
- id: go-mod-tidy
- id: go-mod-tidy-repo
- id: go-sec-pkg

0 comments on commit 348e8b6

Please sign in to comment.