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.
1 parent eb3084a commit de902c2Copy full SHA for de902c2
1 file changed
.github/workflows/lints.yaml
@@ -0,0 +1,14 @@
1
+name: Lints
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ check-go-mod-replace-lines:
7
+ name: check for replace lines in go.mod files
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout project code
11
+ uses: actions/checkout@v3
12
+ - name: check for replace lines in go.mod files
13
+ run: |
14
+ ! egrep --invert-match -e '^replace.*/api => \./api|^replace.*//allow-merging$' `find . -name 'go.mod'` | egrep -e 'go.mod:replace'
0 commit comments