Skip to content

Support directory (go package) execution #65

Support directory (go package) execution

Support directory (go package) execution #65

Workflow file for this run

name: vuln
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
go:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Go vet (vulnerabilities)
run: go vet ./...
working-directory: ./tests/go
- name: Run gosec (security)
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec ./...
working-directory: ./tests/go