Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit faa48dd

Browse files
committed
fix go check
Signed-off-by: John O'Loughlin <[email protected]>
1 parent 3f460c4 commit faa48dd

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Diff for: .github/workflows/static-scan.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ jobs:
6666
with:
6767
go-version: 1.20.1
6868

69-
- name: checkout dockerfile to avoid false diff
69+
- name: Checkout dockerfile to avoid false diff
7070
run: git checkout ./docker/userspacecni/Dockerfile
7171
# if this fails, run go mod tidy
72+
- name: Manually get binapi to avoid false fail
73+
run: go mod tidy
7274
- name: Check if module files are consistent with code
73-
run: go mod tidy && go get go.fd.io/govpp/binapigen/[email protected] && git diff --exit-code #need package for bin api but not working with tidy
75+
run: git diff --exit-code
7476

7577
# if this fails, run go mod vendor
7678
- name: Check if vendor directory is consistent with go modules

Diff for: go.mod

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ require (
1818
)
1919

2020
require (
21-
github.com/bennyscetbun/jsongo v1.1.0 // indirect
2221
github.com/coreos/go-iptables v0.6.0 // indirect
2322
github.com/davecgh/go-spew v1.1.1 // indirect
2423
github.com/emicklei/go-restful/v3 v3.9.0 // indirect

Diff for: go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
github.com/bennyscetbun/jsongo v1.1.0 h1:ZDSks3aLP13jhY139lWaUqZaU8G0tELMohzumut/KDM=
2-
github.com/bennyscetbun/jsongo v1.1.0/go.mod h1:suxbVmjBV8+A2BBAM5EYVh6Uj8j3rqJhzWf3hv7Ff8U=
31
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
42
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
53
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=

0 commit comments

Comments
 (0)