Merge pull request #184 from martin-t/audit2

Cargo audit CI + badge
This commit is contained in:
Dmitry Stepanov
2021-09-14 21:35:19 +03:00
committed by GitHub
3 changed files with 31 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
name: audit
# This is a separate file so it can have a separate badge in readme
# and therefore spread awareness of cargo audit a tiny bit.
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# Runs at 15:00 UTC on Fri
- cron: "0 15 * * 5"
env:
CARGO_TERM_COLOR: always
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/[email protected]
with:
crate: cargo-audit
version: latest
- run: cargo audit --version
- run: cargo audit --deny warnings
+2 -1
View File
@@ -3,6 +3,7 @@
/cloc
*.lock
.*
!.github
/*.log
/*.png
/examples/data/lightmaps
@@ -11,4 +12,4 @@
/rg3d-core/test.bin
/rg3d-core/test.txt
/rg3d-core-derive/test_output
/test_output
/test_output
+1
View File
@@ -8,6 +8,7 @@
[![License (MIT)](https://img.shields.io/crates/l/rg3d)](https://github.com/mrDIMAS/rg3d/blob/master/LICENSE.md)
[![CI Status](https://github.com/rg3dengine/rg3d/actions/workflows/ci.yml/badge.svg)](https://github.com/rg3dengine/rg3d/actions/workflows/ci.yml)
[![audit](https://github.com/rg3dengine/rg3d/workflows/audit.yml/badge.svg)](https://github.com/rg3dengine/rg3d/actions/workflows/audit.yml)
[![Dependency status](https://deps.rs/repo/github/rg3dengine/rg3d/status.svg)](https://deps.rs/repo/github/rg3dengine/rg3d)
[![Crates.io](https://img.shields.io/crates/v/rg3d)](https://crates.io/crates/rg3d)
[![docs.rs](https://img.shields.io/badge/docs-website-blue)](https://docs.rs/rg3d/)