Skip to content

Commit

Permalink
build: update Makefile and remove Go file filter from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucktay committed Mar 2, 2023
1 parent 71b64b5 commit 74b9035
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ on:
- v*
branches:
- main
paths:
- "**.go"

pull_request:
branches:
- main
paths:
- "**.go"

# Concurrency ensures that only a single workflow using the same concurrency group will run at a time.
# When a workflow is queued in the same repository and concurrency group, any workflow in progress will be cancelled.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ tmp/.linted.go.vet.sentinel: tmp/.tests-passed.sentinel

tmp/.linted.golangci-lint.sentinel: .golangci.yaml hack/bin/golangci-lint tmp/.tests-passed.sentinel
> mkdir -p $(@D)
> hack/bin/golangci-lint run --verbose
> hack/bin/golangci-lint run --verbose ./...
> touch $@

gofmt: ## Runs 'gofmt -s' to format and simplify all Go code.
Expand Down

0 comments on commit 74b9035

Please sign in to comment.