mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
chore: add audit button and yarn audit (#859)
* chore: add audit button and yarn audit This is a new feature that should give us a button that we can click a button to see audit results rather than waiting for a cron or a run within our workflows. * split audit into js and rust
This commit is contained in:
parent
a6bb3b5905
commit
71e277d127
14
.github/workflows/audit.yml
vendored
14
.github/workflows/audit.yml
vendored
@ -1,18 +1,30 @@
|
||||
name: Audit
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
push:
|
||||
paths:
|
||||
- "**/Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- "**/package.json"
|
||||
- "**/yarn.lock"
|
||||
|
||||
jobs:
|
||||
audit-rust:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/audit-check@v1
|
||||
- name: rust audit
|
||||
uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
audit-js:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: yarn audit
|
||||
working-directory: cli/tauri.js
|
||||
run: yarn audit
|
||||
|
Loading…
Reference in New Issue
Block a user