Skip to content

Commit

Permalink
Fix CI lint now generated files are not committed
Browse files Browse the repository at this point in the history
  • Loading branch information
dpup committed May 21, 2024
1 parent a042c37 commit f3e6a73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: "1.22"
cache: false
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Generate server protofiles
run: |
make integration-test-server
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ options/ts_package.pb.go: options/ts_package.proto tools
@protoc --go_out=paths=source_relative:./ ./options/*.proto

.PHONY: lint
lint: ## Runs the go linter.
lint: integration-test-server ## Runs the go linter.
@golangci-lint run

.PHONY: test
Expand Down

0 comments on commit f3e6a73

Please sign in to comment.