From e949ed8762273b7154d500798089e1583136e881 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 7 Oct 2019 21:20:30 -0700 Subject: [PATCH] README.md: Update build badge Using GitHub actions now --- .github/workflows/{lint.yml => validate.yml} | 4 +-- README.md | 29 +++++++++++--------- 2 files changed, 18 insertions(+), 15 deletions(-) rename .github/workflows/{lint.yml => validate.yml} (84%) diff --git a/.github/workflows/lint.yml b/.github/workflows/validate.yml similarity index 84% rename from .github/workflows/lint.yml rename to .github/workflows/validate.yml index f87bd95..dc7d415 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/validate.yml @@ -1,4 +1,4 @@ -name: Lint Advisories +name: Validate on: pull_request: {} @@ -12,5 +12,5 @@ jobs: - uses: actions/checkout@v1 - name: Install rustsec-admin run: cargo install rustsec-admin - - name: Lint + - name: Lint advisories run: rustsec-admin lint diff --git a/README.md b/README.md index c70a335..ab201c8 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,9 @@ # RustSec Advisory Database [![Build Status][build-image]][build-link] -![Maintained: Q3 2019][maintained-image] +![Maintained: Q4 2019][maintained-image] [![Gitter Chat][gitter-image]][gitter-link] -[build-image]: https://travis-ci.org/RustSec/advisory-db.svg?branch=master -[build-link]: https://travis-ci.org/RustSec/advisory-db -[maintained-image]: https://img.shields.io/maintenance/yes/2019.svg -[gitter-image]: https://badges.gitter.im/badge.svg -[gitter-link]: https://gitter.im/RustSec/Lobby - The RustSec Advisory Database is a repository of security advisories filed against Rust crates published via https://crates.io @@ -18,9 +12,6 @@ consume the data and can be used for auditing and reporing (send PRs to add your * [cargo-audit]: Audit `Cargo.lock` files for crates with security vulnerabilities -[TOML]: https://github.com/toml-lang/toml -[cargo-audit]: https://github.com/rustsec/cargo-audit - ## Reporting Vulnerabilities To report a new vulnerability, open a pull request using the template below. @@ -30,8 +21,6 @@ See [CONTRIBUTING.md] for more information. Report Vulnerability -[CONTRIBUTING.md]: https://github.com/RustSec/advisory-db/blob/master/CONTRIBUTING.md - ## Advisory Format Each advisory contains information in [TOML] format: @@ -49,7 +38,7 @@ id = "RUSTSEC-0000-0000" package = "mycrate" # Disclosure date of the advisory as an RFC 3339 date (mandatory) -date = "2017-02-25" +date = "2019-10-01" # Single-line description of a vulnerability (mandatory) title = "Flaw in X allows Y" @@ -118,3 +107,17 @@ functions = { "mycrate::MyType::vulnerable_function" = ["< 1.2.0, >= 1.1.0"] } All content in this repository is placed in the public domain. [![Public Domain](http://i.creativecommons.org/p/zero/1.0/88x31.png)](https://github.com/RustSec/advisory-db/blob/master/LICENSE.txt) + +[//]: # (badges) + +[build-image]: https://github.com/rustsec/advisory-db/workflows/Validate/badge.svg +[build-link]: https://github.com/rustsec/advisory-db/actions +[maintained-image]: https://img.shields.io/maintenance/yes/2019.svg +[gitter-image]: https://badges.gitter.im/badge.svg +[gitter-link]: https://gitter.im/RustSec/Lobby + +[//]: # (general links) + +[TOML]: https://github.com/toml-lang/toml +[cargo-audit]: https://github.com/rustsec/cargo-audit +[CONTRIBUTING.md]: https://github.com/RustSec/advisory-db/blob/master/CONTRIBUTING.md