Skip to content

Commit

Permalink
Merge pull request #4332 from kolyshkin/fix-tags
Browse files Browse the repository at this point in the history
ci/gha: add go-fix job
  • Loading branch information
lifubang committed Jul 5, 2024
2 parents 81d63f2 + 309a6d9 commit 8a324d6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8a324d6

Please sign in to comment.