Skip to content

Commit

Permalink
Make the embedded schema work with multiple specs
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
  • Loading branch information
afrittoli committed May 17, 2024
1 parent 3db1368 commit 837d538
Show file tree
Hide file tree
Showing 44 changed files with 90 additions and 89 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
version: v1.52
args: --build-tags testonly
- name: Check generated code
run: make generate
6 changes: 3 additions & 3 deletions hack/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

set -e -o pipefail

if [ "$DISABLE_LINTER" == "true" ]
if [[ "$DISABLE_LINTER" == "true" ]]
then
exit 0
fi

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if ! [ -x "$(command -v golangci-lint)" ]; then
if ! [[ -x "$(command -v golangci-lint)" ]]; then
echo "Installing GolangCI-Lint"
pushd "${DIR}"
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.0
Expand All @@ -20,4 +20,4 @@ export GO111MODULE=on
golangci-lint run \
--timeout 30m \
--verbose \
--build-tags build
--build-tags testonly
4 changes: 2 additions & 2 deletions pkg/api/zz_artifactpackaged_0_1_1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/api/zz_artifactpublished_0_1_1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/api/zz_artifactsigned_0_1_0.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/api/zz_branchcreated_0_1_2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/api/zz_branchdeleted_0_1_2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/api/zz_buildfinished_0_1_1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 837d538

Please sign in to comment.