-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into handle_refresh_token_reuse_error
- Loading branch information
Showing
24 changed files
with
377 additions
and
277 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
changelog: ory/changelog@0.1.4 | ||
nancy: ory/nancy@0.0.13 | ||
golangci: ory/golangci@0.0.19 | ||
|
||
jobs: | ||
test: | ||
docker: | ||
- image: cimg/go:1.18 | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
keys: | ||
- go-github-ory-fosite-v2-{{ checksum "go.sum" }} | ||
- run: go mod download | ||
- save_cache: | ||
key: go-github-ory-fosite-v2-{{ checksum "go.sum" }} | ||
paths: | ||
- "/go/pkg/mod" | ||
- run: go install github.com/mattn/goveralls github.com/ory/go-acc | ||
- run: go-acc -o coverage.txt ./... -- -v -failfast -timeout=20m | ||
|
||
workflows: | ||
tbr: | ||
jobs: | ||
- nancy/test | ||
- test | ||
- golangci/lint | ||
- changelog/generate: | ||
requires: | ||
- test | ||
filters: | ||
tags: | ||
only: /.*/ | ||
branches: | ||
only: master |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Unit tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
- run: make test |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.bin | ||
.idea | ||
*.iml | ||
.cover | ||
|
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,7 @@ | ||
.github/ISSUE_TEMPLATE/BUG-REPORT.yml | ||
.github/ISSUE_TEMPLATE/DESIGN-DOC.yml | ||
.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml | ||
.github/ISSUE_TEMPLATE/config.yml | ||
.github/pull_request_template.md | ||
CHANGELOG.md | ||
CONTRIBUTING.md |
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
Oops, something went wrong.