From 94c13e13b849496facbb1623e443c66e2c0e8e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=B5=D0=BD=D1=82=D1=8C=D0=B5=D0=B2?= Date: Sun, 22 Feb 2026 10:05:27 +0300 Subject: [PATCH] Add go fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Александр Мелентьев --- .github/workflows/pr.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index be1c10c52..11547d67b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -41,3 +41,22 @@ jobs: - name: Run go test run: go test ./... + + gofix: + name: Go fix + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Setup Go + uses: actions/setup-go@v6 + with: + go-version-file: go.mod + + - name: Run go fix + run: go fix ./... + + - name: Check git diff + id: git-diff + run: git diff --exit-code