2020-07-06 04:13:50 +03:00
|
|
|
name: Audit
|
|
|
|
|
|
|
|
on:
|
2020-07-19 20:59:45 +03:00
|
|
|
workflow_dispatch:
|
2020-07-06 04:13:50 +03:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- "**/Cargo.lock"
|
|
|
|
- "**/Cargo.toml"
|
2020-07-19 20:59:45 +03:00
|
|
|
- "**/package.json"
|
|
|
|
- "**/yarn.lock"
|
2020-07-06 04:13:50 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
audit-rust:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-07-19 20:59:45 +03:00
|
|
|
- name: rust audit
|
|
|
|
uses: actions-rs/audit-check@v1
|
2020-07-06 04:13:50 +03:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2020-07-19 20:59:45 +03:00
|
|
|
|
|
|
|
audit-js:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: yarn audit
|
|
|
|
working-directory: cli/tauri.js
|
|
|
|
run: yarn audit
|