security-audit #155
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: security-audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📁 Checkout | |
uses: actions/checkout@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
ref: main | |
- name: 🧰 Install tools | |
run: | | |
sudo apt update \ | |
&& sudo apt install libssl-dev build-essential cmake pkg-config llvm-dev libclang-dev clang libmosquitto-dev libsqlite3-dev -y | |
- name: 🔐 Run audit | |
uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |