# Copyright 2019-2022 Tauri Programme within The Commons Conservancy # 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 }}