We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 305800f + 5d2c8fc commit a93da02Copy full SHA for a93da02
.github/workflows/go.yml
@@ -78,3 +78,31 @@ jobs:
78
gitdiff="$(git diff -U0)"
79
echo "$gitdiff"
80
test -z "$gitdiff"
81
+
82
+ vendor-diff:
83
+ if: github.event_name == 'pull_request'
84
+ runs-on: ubuntu-latest
85
+ steps:
86
+ - uses: actions/setup-go@v3
87
+ with:
88
+ go-version: ^1.18
89
90
+ - name: Checkout base commit
91
+ uses: actions/checkout@v3
92
93
+ path: a
94
+ ref: ${{ github.base_ref }}
95
+ - name: Download dependencies of base commit
96
+ run: go mod vendor
97
+ working-directory: a
98
99
+ - name: Checkout PR
100
101
102
+ path: b
103
+ - name: Download dependencies of PR
104
105
+ working-directory: b
106
107
+ - name: Diff of dependencies
108
+ run: diff -ur --color=always a/vendor b/vendor || true
0 commit comments