mirror of
https://github.com/fatedier/frp.git
synced 2024-12-12 17:50:51 +01:00
6c6607ae68
token is the current token comparison, and oidc generates oidc token using client-credentials flow. in addition - add ping verification using the same method
17 lines
463 B
Bash
17 lines
463 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Filter out any files with a !golint build tag.
|
|
LINTABLE=$( go list -tags=golint -f '
|
|
{{- range $i, $file := .GoFiles -}}
|
|
{{ $file }} {{ end }}
|
|
{{ range $i, $file := .TestGoFiles -}}
|
|
{{ $file }} {{ end }}' github.com/coreos/go-oidc )
|
|
|
|
go test -v -i -race github.com/coreos/go-oidc/...
|
|
go test -v -race github.com/coreos/go-oidc/...
|
|
golint -set_exit_status $LINTABLE
|
|
go vet github.com/coreos/go-oidc/...
|
|
go build -v ./example/...
|