Skip to content

Commit

Permalink
test pkg/exprhelpers: explicit message if the tag "expr_debug" is mis…
Browse files Browse the repository at this point in the history
…sing (#3400)

* test pkg/exprhelpers: explicit message if the tag "expr_debug" is missing

* typo

* lint: use build tag expr_debug while linting

* lint
  • Loading branch information
mmetc authored Jan 15, 2025
1 parent cc1196c commit 9ef5f58
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ jobs:
go generate ./...
protoc --version
if [[ $(git status --porcelain) ]]; then
echo "Error: Uncommitted changes found after running 'make generate'. Please commit all generated code."
echo "Error: Uncommitted changes found after running 'go generate'. Please commit all generated code."
git diff
exit 1
else
echo "No changes detected after running 'make generate'."
echo "No changes detected after running 'go generate'."
fi
- name: Create localstack streams
Expand Down
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml

run:
build-tags:
- expr_debug

linters-settings:
gci:
sections:
Expand Down
Loading

0 comments on commit 9ef5f58

Please sign in to comment.