hpcng / nomad-driver-singularity

HashiCorp Nomad driver plugin - Singularity
Mozilla Public License 2.0
25 stars 8 forks source link

Improve CI Workflow #20

Closed tri-adam closed 5 years ago

tri-adam commented 5 years ago

Use checkout to retrieve source, restore_cache to fetch cached Go modules. This follows the recommendations on the CircleCI blog.

Fold the check_formatting and vet_source jobs into the lint_source job. Upgrade golanglint-ci to version 1.16, and add a golangci-lint config to explicitly opt out of failing linters. Add project-level VS Code setting to use golangci-lint for linting.

Use node:11-slim (148MB) instead of circleci/ruby:2.4.1-node (960MB) for lint_markdown job.

Add unit_test job, and report code coverage via the Codecov Orb.

Add GoDoc, CircleCI, Codecov and Go Report Card badges.

Closes #19