commit | 349fbb863c794b7dda10fbea14568c9c5dd759aa | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Tue Aug 08 20:56:07 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 08 20:56:07 2023 +0000 |
tree | 8a2ec475e04139f295ddc783e87125fdfb175dc3 | |
parent | eea6195bb54f8a766c5de85f7d8f2f319eb829a2 [diff] |
[go] Pin tests to use Go 1.20 Go 1.21 was just released but seems to have some issues around environment variable handling that cause warnings and failures related to the GOPROXY and GOPATH env vars even when those vars are unset. I spend a while investigating but couldn't figure out a fix, so I'm punting on it in case it turns out to be a bug that gets fixed upstream. Change-Id: Id0f6e6f6e9dea28568deee4712738c946b9dc418 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/897162 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
Planned features/changes, in descending order by priority:
shac.textproto
shac.star
files.shac
cache directory that checks can write toctx.scm
glob
arguments to ctx.scm.{all,affected}_files()
functions for easier filtering⚠ 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.