build(deps): bump the all group with 8 updates #253
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Testing | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
env: | |
GO_VERSION: "1.24.2" | |
jobs: | |
SAST: | |
name: Perform SAST analysis (golangci-lint) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Install deps | |
run: sudo apt update && sudo apt install -y libgpgme-dev | |
- name: Generate | |
run: go generate ./... | |
- name: Run SAST (golangci-lint) | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: "latest" | |
only-new-issues: true | |
args: --timeout=10m | |
skip-cache: true | |
SCA: | |
name: Perform SCA analysis (govulncheck) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Install deps | |
run: sudo apt update && sudo apt install -y libgpgme-dev | |
- name: Generate | |
run: go generate ./... | |
- name: Run SCA (govulncheck) | |
uses: golang/govulncheck-action@v1 | |
with: | |
go-version-input: ${{ env.GO_VERSION }} | |
go-package: ./... | |
cache: false |