2021-04-11 01:09:09 +03:00
|
|
|
# Copyright 2019-2021 Tauri Programme within The Commons Conservancy
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
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:
|
2022-02-10 23:23:10 +03:00
|
|
|
- '**/Cargo.lock'
|
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/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
|
2022-02-10 23:23:10 +03:00
|
|
|
working-directory: tooling/cli/node
|
2020-07-19 20:59:45 +03:00
|
|
|
run: yarn audit
|