aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-20 02:58:06 -0700
committerFuwn <[email protected]>2021-05-20 02:58:06 -0700
commitb83fd13f6dc1a9575439e7d503a562286306aad9 (patch)
tree8968287abf068637edb5736a4d09a4bf84f2d271 /.github
parentbuild: mess with cross-compiling settings (diff)
downloadwhirl-b83fd13f6dc1a9575439e7d503a562286306aad9.tar.xz
whirl-b83fd13f6dc1a9575439e7d503a562286306aad9.zip
ci(actions): security audit action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/audit.yml18
-rw-r--r--.github/workflows/rust.yml3
2 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml
new file mode 100644
index 0000000..2f72d2d
--- /dev/null
+++ b/.github/workflows/audit.yml
@@ -0,0 +1,18 @@
+name: Audit 🩺
+
+
+on:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ check:
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Checkout 🛒
+ uses: actions/checkout@v2
+
+ - name: Audit 🩺
+ uses: actions-rs/audit-check@v1
+ with:
+ token: ${{ github.token }}
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index c4f08d5..b2755a1 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -21,6 +21,7 @@ jobs:
steps:
- name: Checkout 🛒
uses: actions/checkout@v2
+
- name: Toolchain 🧰
uses: actions-rs/toolchain@v1
with:
@@ -28,8 +29,10 @@ jobs:
toolchain: nightly-2021-02-20
components: rustfmt, clippy
override: true
+
- name: Check ✅/ 🚫
uses: actions-rs/cargo@v1
continue-on-error: false
with:
command: check
+ args: --verbose