diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5cc1b651f7..70ae6ad400 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,6 @@ jobs: name: Unit Tests steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 - with: - go-version: '1.15.x' - uses: actions/setup-python@v2 with: python-version: '3.x' diff --git a/CHANGELOG.next.md b/CHANGELOG.next.md index ff6dff97df..65b2855e0f 100644 --- a/CHANGELOG.next.md +++ b/CHANGELOG.next.md @@ -42,6 +42,8 @@ Thanks, you're awesome :-) --> #### Improvements +* Remove remaining Go deps after removing Go code generator. #1585 + #### Deprecated ## 1.12.0 (Feature Freeze) diff --git a/Makefile b/Makefile index a7f1833a17..2388dd66ba 100644 --- a/Makefile +++ b/Makefile @@ -18,18 +18,12 @@ all: generate experimental # Check verifies that all of the committed files that are generated are # up-to-date. .PHONY: check -check: generate experimental test fmt misspell makelint check-license-headers +check: generate experimental test fmt misspell makelint # Check if diff is empty. git diff | cat git update-index --refresh git diff-index --exit-code HEAD -- -# Check license headers on files (currently .go files only). -.PHONY: check-license-headers -check-license-headers: - go get github.com/elastic/go-licenser - go-licenser -d - # Clean deletes all temporary and generated content. .PHONY: clean clean: @@ -73,8 +67,13 @@ makelint: # Check for basic misspellings. .PHONY: misspell misspell: - go get github.com/client9/misspell/cmd/misspell - misspell README.md CONTRIBUTING.md schemas/* + @if [ ! -d $(PWD)/build/misspell ]; then \ + mkdir -p ./build/misspell/bin ; \ + curl -sLo ./build/misspell/install-misspell.sh https://git.io/misspell ; \ + chmod +x ./build/misspell/install-misspell.sh ; \ + ./build/misspell/install-misspell.sh -b ./build/misspell/bin >> /dev/null 2>&1 ; \ + fi + ./build/misspell/bin/misspell -error README.md CONTRIBUTING.md schemas/* docs/* experimental/schemas/* .PHONY: reload_docs reload_docs: generator docs