Content-Length: 289736 | pFad | http://github.com/github/github-mcp-server/commit/14ed0ce013fd17ed22c3dce16211cc47e87a8550
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.
go mod
1 parent 3d8d086 commit 14ed0ceCopy full SHA for 14ed0ce
.github/workflows/lint.yaml
@@ -19,6 +19,26 @@ jobs:
19
with:
20
go-version-file: "go.mod"
21
22
+ - name: Verify dependencies
23
+ run: |
24
+ go mod verify
25
+ go mod download
26
+
27
+ - name: Run checks
28
29
+ STATUS=0
30
+ assert-nothing-changed() {
31
+ local diff
32
+ "$@" >/dev/null || return 1
33
+ if ! diff="$(git diff -U1 --color --exit-code)"; then
34
+ printf '\e[31mError: running `\e[1m%s\e[22m` results in modifications that you must check into version control:\e[0m\n%s\n\n' "$*" "$diff" >&2
35
+ git checkout -- .
36
+ STATUS=1
37
+ fi
38
+ }
39
+ assert-nothing-changed go mod tidy
40
+ exit $STATUS
41
42
- name: golangci-lint
43
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
44
Fetched URL: http://github.com/github/github-mcp-server/commit/14ed0ce013fd17ed22c3dce16211cc47e87a8550
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments