laconicd-deprecated/.gitea/workflows/security.yml
Thomas E Lackey 4e9ff52729
Some checks failed
Pull Request Labeler / triage (pull_request) Failing after 6s
Dependency Review / dependency-review (pull_request) Failing after 1m34s
Lint / Run golangci-lint (pull_request) Successful in 3m24s
Semgrep / Scan (pull_request) Failing after 13s
Tests / cleanup-runs (pull_request) Failing after 4s
Lint / Run flake8 on python integration tests (pull_request) Successful in 3m51s
Run Gosec / Gosec (pull_request) Failing after 7m29s
Tests / test-unit-cover (pull_request) Failing after 5m30s
Tests / test-rpc (pull_request) Successful in 5m32s
Tests / test-importer (pull_request) Failing after 12m18s
Tests / sdk_tests (pull_request) Has been cancelled
.gitea instead
2024-01-22 16:57:21 -06:00

29 lines
741 B
YAML

name: Run Gosec
on:
pull_request:
push:
branches:
- main
jobs:
Gosec:
permissions:
security-events: write
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: cosmos/gosec@master
with:
# we let the report trigger content trigger a failure using the GitHub Security features.
args: '-no-fail -fmt sarif -out results.sarif -exclude=G701,G703 ./...'
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif