Skip to content

Add mutex to secure access to senders and subsribers maps (#17) #13

Add mutex to secure access to senders and subsribers maps (#17)

Add mutex to secure access to senders and subsribers maps (#17) #13

name: Check repository for vulnerabilities
on: [push, workflow_dispatch]
jobs:
vulnerabilities:
env:
report-file: report.txt
name: Check vulnerabilities
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run check
run: govulncheck -show verbose ./... 2>&1 | tee ${{ env.report-file }}
- name: Collect report
if: always()
uses: actions/upload-artifact@v4
with:
name: 'govulncheck-report'
path: ${{ env.report-file }}
overwrite: true