-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: ory-bot <[email protected]>
- Loading branch information
Showing
8 changed files
with
42 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,6 @@ jobs: | |
go-version: 1.19 | ||
- name: Lint buf | ||
run: make buf-lint | ||
- name: check prettier format | ||
run: npm ci && npm run format:check | ||
- run: go list -json > go.list | ||
- name: Run nancy | ||
uses: sonatype-nexus-community/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Format | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
- run: make format | ||
- name: Indicate formatting issues | ||
run: git diff HEAD --exit-code --color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,8 +39,9 @@ $(foreach dep, $(BREW_DEPENDENCIES), $(eval $(call make-brew-dependency,$(dep))) | |
tools/protobuf: tools/brew Makefile | ||
HOMEBREW_NO_AUTO_UPDATE=1 brew install [email protected] | ||
|
||
node_modules: package.json package-lock.json Makefile | ||
node_modules: package-lock.json | ||
npm ci | ||
touch node_modules | ||
|
||
.PHONY: tools/brew | ||
tools/brew: | ||
|
@@ -54,7 +55,7 @@ tools/brew: | |
.PHONY: format | ||
format: tools/goimports node_modules | ||
goimports -w -local github.com/ory/keto *.go internal cmd contrib ketoctx ketoapi embedx | ||
npm run format | ||
npm exec -- prettier --write . | ||
|
||
.PHONY: install | ||
install: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 6 additions & 5 deletions
11
proto/ory/keto/relation_tuples/v1alpha2/relation_tuples.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.