[go] Parse staticcheck output, emit annotations

Tested by adding a `time.Sleep(1)`:

  [staticcheck/error] internal/engine/runtime_ctx_os.go(88): sleeping for 1 nanoseconds is probably a bug; be explicit if it isn't

Change-Id: I35d2d082383b0d0d1dde13b930394c171e73718d
Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/835736
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
1 file changed
tree: 48241ce39f2fc31d3be7fe6c57f8b9861c6e0383
  1. .github/
  2. doc/
  3. internal/
  4. scripts/
  5. .gitignore
  6. AUTHORS
  7. check_doc.star
  8. codecov.yml
  9. CONTRIBUTING.md
  10. go.mod
  11. go.star
  12. go.sum
  13. LICENSE
  14. licenses.star
  15. main.go
  16. OWNERS
  17. PATENTS
  18. README.md
  19. shac.star
README.md

shac

Scalable Hermetic Analysis and Checks.

Usage

go install go.fuchsia.dev/shac-project/shac@latest
shac check
shac doc shac.star | less

Documentation

Contributing

⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.

See CONTRIBUTING.md to submit changes.