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>
This commit was merged in pull request #1.
This commit is contained in:
2025-05-17 15:47:24 +00:00
committed by jake
parent bf4bc77079
commit d26348d065
3 changed files with 71 additions and 11 deletions

View File

@@ -1,9 +1,20 @@
name: "donotpassgo"
description: "general go code checks"
inputs:
test:
description: "runs unit tests with specified library"
required: false
default: "none"
runs:
using: "composite"
steps:
- name: "install go packages"
- name: "run unit tests"
shell: bash
run: ${{ github.action_path }}/test.sh
env:
LIBRARY: ${{ inputs.test }}
- name: "install govulncheck"
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest