LoginRadius / go-saml

High Level API Implementation of SAML 2.0 (Currently Supported Identity Provider Implementation) Single Sign On
MIT License
12 stars 13 forks source link

Add Github Action with linter #18

Open x-way opened 3 years ago

x-way commented 3 years ago

Runs go vet, golint and staticcheck on the code. Also runs go test (a no-op as there are not tests yet).

Currently the linting fails with warnings about missing comments on exported methods. Good thing is there is aleady an issue (#4) to improve the comments :-)

An example of the output can be seen here: https://github.com/x-way/go-saml/actions/runs/285580397

Signed-off-by: Andreas Jaggi andreas.jaggi@waterwave.ch

All Submissions:

New Feature Submissions:

  1. [ ] Does your submission pass tests?
  2. [ ] Have you lint your code locally prior to submission?

Changes to Core Features: