File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ the release.
9
9
10
10
* [ accountingservice] allow running the container with non root user
11
11
([ #1692 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/1692 ) )
12
+ * [ chore] Add yamllint to ` make all `
13
+ ([ #1707 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/1707 ) )
12
14
13
15
## 1.11.1
14
16
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ DOCKER_COMPOSE_ENV=--env-file .env --env-file .env.override
16
16
# see https://github.com/open-telemetry/build-tools/releases for semconvgen updates
17
17
# Keep links in semantic_conventions/README.md and .vscode/settings.json in sync!
18
18
SEMCONVGEN_VERSION =0.11.0
19
+ YAMLLINT_VERSION =1.30.0
19
20
20
- # TODO: add `yamllint` step to `all` after making sure it works on Mac.
21
21
.PHONY : all
22
- all : install-tools markdownlint misspell
22
+ all : install-tools markdownlint misspell yamllint
23
23
24
24
$(MISSPELL ) :
25
25
cd $(TOOLS_DIR ) && go build -o $(MISSPELL_BINARY ) github.com/client9/misspell/cmd/misspell
@@ -44,10 +44,10 @@ markdownlint:
44
44
.PHONY : install-yamllint
45
45
install-yamllint :
46
46
# Using a venv is recommended
47
- pip install -U yamllint~=1.30.0
47
+ yamllint --version >/dev/null 2>&1 || pip install -U yamllint~=$(YAMLLINT_VERSION)
48
48
49
49
.PHONY : yamllint
50
- yamllint :
50
+ yamllint : install-yamllint
51
51
yamllint .
52
52
53
53
.PHONY : checklicense
You can’t perform that action at this time.
0 commit comments