Security Audit #6
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 Audit" | |
on: | |
schedule: | |
- cron: '0 0 * * 0' # runs every Sunday at midnight | |
workflow_dispatch: # manual trigger | |
jobs: | |
dep-audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.x' | |
- name: Audit Go Modules for updates | |
run: go list -m -u all > audit.txt | |
- name: Display outdated modules | |
run: cat audit.txt |