-
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve goreleaser issues and bump golang
- Loading branch information
Showing
3 changed files
with
15 additions
and
278 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 |
---|---|---|
|
@@ -2,24 +2,30 @@ version: 2.1 | |
|
||
orbs: | ||
sdk: ory/[email protected] | ||
changelog: ory/[email protected].4 | ||
goreleaser: ory/[email protected].21 | ||
changelog: ory/[email protected].8 | ||
goreleaser: ory/[email protected].28 | ||
slack: circleci/[email protected] | ||
nancy: ory/[email protected].14 | ||
nancy: ory/[email protected].18 | ||
docs: ory/[email protected] | ||
golangci: ory/[email protected].13 | ||
golangci: ory/[email protected].18 | ||
|
||
jobs: | ||
test: | ||
docker: | ||
- image: circleci/golang:1.14 | ||
- image: circleci/golang:1.16 | ||
environment: | ||
- GO111MODULE=on | ||
working_directory: /go/src/github.com/ory/oathkeeper | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- run: go mod download | ||
- go/load-cache | ||
- go/mod-download | ||
- go/save-cache | ||
- goreleaser/install | ||
- goreleaser/check | ||
- golangci/install | ||
- golangci/lint | ||
- run: go install github.com/ory/go-acc github.com/mattn/goveralls | ||
- run: go-acc -o coverage.txt ./... -- -failfast -timeout=20m | ||
- run: test -z "$CIRCLE_PR_NUMBER" && goveralls -service=circle-ci -coverprofile=coverage.txt -repotoken=$COVERALLS_REPO_TOKEN || echo "forks are not allowed to push to coveralls" | ||
|
@@ -29,22 +35,13 @@ jobs: | |
workflows: | ||
"test, build, and relase": | ||
jobs: | ||
- nancy/test: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- golangci/lint: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- test: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- changelog/generate: | ||
requires: | ||
- test | ||
- golangci/lint | ||
filters: | ||
tags: | ||
only: /.*/ | ||
|
@@ -58,7 +55,6 @@ workflows: | |
- sdk/release: | ||
requires: | ||
- test | ||
- golangci/lint | ||
- goreleaser/release | ||
filters: | ||
tags: | ||
|
@@ -68,23 +64,15 @@ workflows: | |
- docs/build: | ||
requires: | ||
- test | ||
- golangci/lint | ||
filters: | ||
tags: | ||
only: /.*/ | ||
branches: | ||
only: master | ||
- | ||
goreleaser/test: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- | ||
goreleaser/release: | ||
requires: | ||
- goreleaser/test | ||
- test | ||
- golangci/lint | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
|
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.