Skip to content

Commit

Permalink
Ensure code is formatted
Browse files Browse the repository at this point in the history
Also bump Windows dep versions
  • Loading branch information
lukebakken committed Dec 22, 2022
1 parent 5bf455f commit f7b70c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ci/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"erlang": "25.0.4",
"rabbitmq": "3.10.7"
"erlang": "25.2",
"rabbitmq": "3.11.5"
}
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
name: build/test on windows-latest
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
go-version: ['1.18', '1.19']
steps:
Expand Down Expand Up @@ -48,4 +49,4 @@ jobs:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Tests
run: make tests
run: make check-fmt tests
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ list: ## list Makefile targets
@echo "The most used targets: \n"
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'

.PHONY: check-fmt
check-fmt: ## Ensure code is formatted
test -z "$$(gofmt -l .)"

.PHONY: fmt
fmt: ## Run go fmt against code
go fmt ./...
Expand Down

0 comments on commit f7b70c1

Please sign in to comment.