Add mutex to secure access to senders and subsribers maps (#17) #13
This file contains 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: 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 |