From b5df6c2526407a71816d2b5ae456899a921b24f9 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 16 Oct 2024 15:51:05 +0300 Subject: [PATCH] ci: use pre-commit action instead of running manually --- .github/workflows/go.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index af50ecc..785ac35 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -32,8 +32,5 @@ jobs: go install honnef.co/go/tools/cmd/staticcheck@latest export PATH="$HOME/go/bin:$PATH" - - name: Install pre-commit - run: pip install pre-commit - - - name: Lint - run: pre-commit run -a + - name: Run pre-commit + uses: pre-commit/action@v3.0.1