jake d26348d065 new/unit-tests (#1)
Reviewed-on: #1
Co-authored-by: jake <jake.young.dev@gmail.com>
Co-committed-by: jake <jake.young.dev@gmail.com>
2025-05-17 15:47:24 +00:00
2025-05-17 15:47:24 +00:00
2025-05-17 15:47:24 +00:00
2025-05-17 15:47:24 +00:00

donotpassgo

A composite workflow that runs general code checks on Go projects, an optional test input is available to trigger unit tests. See steps for more information on the jobs run

Usage

adding donotpassgo to workflows is simple, just add the following step to your yaml file:

- name: "checkpoint"
  uses: https://code.jakeyoungdev.com/actions/donotpassgo@main

donotpassgo has optional support for running unit tests, this can be added by setting the test flag to standard

- name: "checkpoint"
  uses: https://code.jakeyoungdev.com/actions/donotpassgo@main
  with:
    test: standard

running unit tests with ginkgo is also supported by setting the test flag to ginkgo

- name: "checkpoint"
  uses: https://code.jakeyoungdev.com/actions/donotpassgo@main
  with:
    test: ginkgo

Steps

donotpassgo runs several workflow jobs to ensure quality and secure go code, these steps may be updated as new tools develop.

Dependency Scans

govulncheck is installed using golang and is used to scan for vulnerabilities in the project dependencies and standard library.

Static Code Analysis

gosec inspects source code for security problems

Unit Tests

donotpassgo supports two unit tests libraries: the standard go library and ginkgo

Description
No description provided
Readme 33 KiB
v1.1.0 Latest
2025-05-17 15:47:52 +00:00
Languages
Shell 100%