Skip to content

Commit 0c5ef2d

Browse files
authored
Merge pull request #422 from b-ranto/wip-branto
Fix vendor folder
2 parents a67da3e + eb30ef0 commit 0c5ef2d

4 files changed

Lines changed: 39 additions & 2 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,13 @@ jobs:
103103
go-version-file: go.mod
104104
- name: run mod check
105105
run: make mod.check
106+
107+
vendorcheck:
108+
name: vendorcheck
109+
runs-on: ubuntu-latest
110+
steps:
111+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
112+
- name: Check the vendor folder consistency
113+
run: |
114+
go mod vendor -o vendor.gen
115+
diff -r vendor vendor.gen

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
.vscode/
2424

2525
# Go workspace file
26-
go.work
27-
go.work.sum
26+
/go.work
27+
/go.work.sum
2828

2929
# git merge files
3030
*.orig

vendor/github.com/go-openapi/swag/go.work

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/go-openapi/swag/go.work.sum

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)