Skip to content

Commit

Permalink
bump go modules, sync _example with main module
Browse files Browse the repository at this point in the history
Also, add golangci-lint run for the _example module.
  • Loading branch information
paskal committed Jan 15, 2023
1 parent c3360c6 commit d183507
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 620 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ jobs:
go install github.com/mattn/goveralls@latest
- name: run linters
run: $GITHUB_WORKSPACE/golangci-lint run
run: $GITHUB_WORKSPACE/golangci-lint run ./...

- name: run linters on example directory
working-directory: _example
run: $GITHUB_WORKSPACE/golangci-lint --config ../.golangci.yml run ./...

- name: submit coverage
run: goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
Expand Down
52 changes: 45 additions & 7 deletions _example/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,54 @@
module github.com/go-pkgz/auth/_example

go 1.15
go 1.17

replace github.com/go-pkgz/auth => ../

require (
github.com/go-chi/chi/v5 v5.0.7
github.com/go-oauth2/oauth2/v4 v4.4.3
github.com/go-pkgz/auth v1.18.0
github.com/go-chi/chi/v5 v5.0.8
github.com/go-oauth2/oauth2/v4 v4.5.1
github.com/go-pkgz/auth v1.20.0
github.com/go-pkgz/lgr v0.10.4
github.com/go-pkgz/rest v1.14.0
github.com/go-pkgz/rest v1.16.0
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/tidwall/buntdb v1.2.8 // indirect
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
golang.org/x/oauth2 v0.4.0
)

require (
cloud.google.com/go/compute v1.14.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/dghubble/oauth1 v0.7.2 // indirect
github.com/go-pkgz/repeater v1.1.3 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/klauspost/compress v1.15.2 // indirect
github.com/microcosm-cc/bluemonday v1.0.21 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/nullrocks/identicon v0.0.0-20180626043057-7875f45b0022 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/tidwall/btree v0.0.0-20191029221954-400434d76274 // indirect
github.com/tidwall/buntdb v1.1.2 // indirect
github.com/tidwall/gjson v1.12.1 // indirect
github.com/tidwall/grect v0.0.0-20161006141115-ba9a043346eb // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tidwall/rtree v0.0.0-20180113144539-6cd427091e0e // indirect
github.com/tidwall/tinyqueue v0.0.0-20180302190814-1e39f5511563 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.1 // indirect
github.com/xdg-go/stringprep v1.0.3 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
go.etcd.io/bbolt v1.3.6 // indirect
go.mongodb.org/mongo-driver v1.11.1 // indirect
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
golang.org/x/image v0.3.0 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
)

0 comments on commit d183507

Please sign in to comment.