chore: Move pre-commit action to lint workflow
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1da2eab..23999b7 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -3,7 +3,7 @@
pull_request:
jobs:
- images:
+ Golang:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -30,3 +30,15 @@
name: test-log
path: /tmp/gotest.log
if-no-files-found: error
+
+ Pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout project
+ uses: actions/checkout@v3
+
+ - name: Setup Python
+ uses: actions/setup-python@v4
+
+ - name: Setup pre-commit
+ uses: pre-commit/action@v3.0.0