Skip to content

Commit

Permalink
Merge pull request #27 from 53845714nF/update_pre_commit
Browse files Browse the repository at this point in the history
fix pre-commit
  • Loading branch information
53845714nF authored Dec 23, 2024
2 parents b7e7e8d + 348e8b6 commit 14f7530
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 14f7530

Please sign in to comment.