Skip to content

Use std LazyLock instead of lazy_regex. #143

Use std LazyLock instead of lazy_regex.

Use std LazyLock instead of lazy_regex. #143

Workflow file for this run

# Based on https://github.com/actions-rs/meta/blob/master/recipes/msrv.md
on: [push, pull_request]
name: CI
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: echo "::add-matcher::.github/workflows/rust-problem-matcher.json"
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: echo "::add-matcher::.github/workflows/rust-problem-matcher.json"
- run: cargo clippy --all-features
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: echo "::add-matcher::.github/workflows/rust-problem-matcher.json"
- run: cargo test -q