diff --git a/.cargo/audit.toml b/.cargo/audit.toml new file mode 100644 index 0000000..8bb4054 --- /dev/null +++ b/.cargo/audit.toml @@ -0,0 +1,5 @@ +[advisories] +ignore = [ + "RUSTSEC-2021-0124" # See issue #3 +] +informational_warnings = ["unmaintained"] \ No newline at end of file diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 19417bb..9c08f67 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -6,6 +6,7 @@ on: - '**/Cargo.toml' - '**/Cargo.lock' - '.github/workflows/audit.yml' + - '**/audit.toml' schedule: - cron: '0 0 * * *' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22e8a52..29094b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,14 @@ -on: [push, pull_request] - name: Build +on: + pull_request: + push: + paths: + - '.github/workflows/build.yml' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '**/src/*' + jobs: build_and_test: name: Rust project