Skip to content

Add PR job to check Go, SQL code

Changes proposed in this pull request:

  • Add a pull request CI job that runs static checks on the Go code, unit tests, and database tests.
  • Database tests require Docker Compose to orchestrate without outside infrastructure.

Things to check

  • For any logging statements, is there any chance that they could be logging sensitive data?
  • Are log statements using a logging library with a logging level set? Setting a logging level means that log statements "below" that level will not be written to the output. For example, if the logging level is set to INFO and debugging statements are written with log.debug or similar, then they won't be written to the otput, which can prevent unintentional leaks of sensitive data.

Security considerations

None.

Merge request reports

Loading