Merge pull request #4332 from kolyshkin/fix-tags

ci/gha: add go-fix job
This commit is contained in:
lfbzhm
2024-07-05 12:40:28 +08:00
committed by GitHub
+18
View File
@@ -47,6 +47,24 @@ jobs:
run: |
golangci-lint run --config .golangci-extra.yml --new-from-rev=HEAD~1
go-fix:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: "${{ env.GO_VERSION }}"
- name: install deps
run: |
sudo apt -q update
sudo apt -qy install libseccomp-dev
- name: run go fix
run: |
go fix ./...
git diff --exit-code
compile-buildtags:
runs-on: ubuntu-24.04
env: