Skip to content

Improve the delimiter associated with the parser options #177

Improve the delimiter associated with the parser options

Improve the delimiter associated with the parser options #177

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: test
runs-on: ubuntu-20.04-xl
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
rust-version: 1.60.0
components: clippy,rustfmt
- name: Format
run: rustfmt --check src/lib.rs
- name: Build
run: cargo build --release --all-targets --all-features
- name: Test
run: cargo test --release --all-targets --all-features
- name: Lint
run: cargo clippy --all-targets --all-features --release -- -D clippy::all
- name: Publish
if: |
github.repository == 'denoland/rust-urlpattern' &&
startsWith(github.ref, 'refs/tags/')
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish -vv