Add go fix

Signed-off-by: Александр Мелентьев <aleksandr4842@ya.ru>
This commit is contained in:
Александр Мелентьев 2026-02-22 10:05:27 +03:00
parent 884c62423e
commit 94c13e13b8

View file

@ -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