We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf9dc3f + bce90fc commit 3523792Copy full SHA for 3523792
.github/workflows/check-go.yml
@@ -6,11 +6,15 @@ on:
6
paths:
7
- ".github/workflows/check-go.yml"
8
- "Taskfile.yml"
9
+ - "go.mod"
10
+ - "go.sum"
11
- "**.go"
12
pull_request:
13
14
15
16
17
18
19
schedule:
20
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to tools.
@@ -69,3 +73,16 @@ jobs:
69
73
70
74
- name: Check formatting
71
75
run: git diff --color --exit-code
76
+
77
+ check-config:
78
+ runs-on: ubuntu-latest
79
80
+ steps:
81
+ - name: Checkout repository
82
+ uses: actions/checkout@v2
83
84
+ - name: Run go mod tidy
85
+ run: go mod tidy
86
87
+ - name: Check whether any tidying was needed
88
+ run: git diff --color --exit-code
0 commit comments