From 73715c10e0007c766969732a1ff53f358c807780 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sun, 26 Feb 2023 19:10:21 +0000 Subject: [PATCH] Fix GH actions badge --- README.md | 2 +- docs/1.1-attributes.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a94bf7f..c9fe0d8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Schemars -[![CI Build](https://img.shields.io/github/workflow/status/GREsau/schemars/CI?logo=GitHub)](https://github.com/GREsau/schemars/actions) +[![CI Build](https://img.shields.io/github/actions/workflow/status/GREsau/schemars/ci.yml?branch=master&logo=GitHub)](https://github.com/GREsau/schemars/actions) [![Crates.io](https://img.shields.io/crates/v/schemars)](https://crates.io/crates/schemars) [![Docs](https://docs.rs/schemars/badge.svg)](https://docs.rs/schemars) [![rustc 1.45+](https://img.shields.io/badge/schemars-rustc_1.45+-lightgray.svg)](https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html) diff --git a/docs/1.1-attributes.md b/docs/1.1-attributes.md index 2904968..251a6a1 100644 --- a/docs/1.1-attributes.md +++ b/docs/1.1-attributes.md @@ -208,7 +208,7 @@ Validator docs: [range](https://github.com/Keats/validator#range)

-`#[validate(regex = "path::to::regex")]` / `#[schemars(regex = "path::to::regex")]` +`#[validate(regex = "path::to::regex")]` / `#[schemars(regex = "path::to::regex")]`
`#[schemars(regex(pattern = r"^\d+$"))]`