Skip to content

Commit

Permalink
Use the gomod-check action from toolchain-cicd (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
metlos authored Mar 20, 2024
1 parent f17a176 commit 23beb33
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci-check-gomod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,5 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: check
run: |
if [[ -n "$(grep 'replace github.com/codeready-toolchain/.*' go.mod || true)" ]]; then
echo "forbidden replacement in go.mod"
exit 1
fi
uses: codeready-toolchain/toolchain-cicd/gomod-check@master

0 comments on commit 23beb33

Please sign in to comment.