2022-12-09 05:50:24 +11:00
|
|
|
# Copyright 2022-2022 Tauri Programme within The Commons Conservancy
|
2022-10-28 05:01:24 +11:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
name: audit
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- dev
|
|
|
|
paths:
|
|
|
|
- 'Cargo.lock'
|
|
|
|
- 'Cargo.toml'
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- 'Cargo.lock'
|
|
|
|
- 'Cargo.toml'
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
audit:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: rust audit
|
|
|
|
uses: actions-rs/audit-check@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|