forked from TrueCloudLab/frostfs-node
[#1266] .forgejo: Add gofumpt action
`gofumpt` was skipped by pre-commit on CI, and now is used in a separate action. Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
parent
a55600893e
commit
ef4cea6d19
1 changed files with 18 additions and 0 deletions
|
@ -89,3 +89,21 @@ jobs:
|
|||
|
||||
- name: Run gopls
|
||||
run: make gopls-run
|
||||
|
||||
fumpt:
|
||||
name: Run gofumpt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
|
||||
- name: Install gofumpt
|
||||
run: make fumpt-install
|
||||
|
||||
- name: Run gofumpt
|
||||
run: make fumpt
|
||||
|
|
Loading…
Reference in a new issue