Skip to content

fix: index out of range in incomplete escape sequence in regex #149

fix: index out of range in incomplete escape sequence in regex

fix: index out of range in incomplete escape sequence in regex #149

Workflow file for this run

name: Rust
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js for use with actions
uses: actions/[email protected]
- name: install js test libs from npm
run: npm install
- name: Build
run: cargo build
- name: get moz_central files
run: curl https://hg.mozilla.org/mozilla-central/archive/tip.zip/js/src/jit-test/tests/ --output moz_central.zip
- name: unzip moz_central
run: unzip -qq moz_central -d moz_central
- name: Run tests
run: cargo test --features moz_central
if: success()
- name: Run Major Libs example
run: cargo run --example major_libs
if: success()
- name: Check syntax
run: cargo fmt --all -- --check
if: success()
- name: Get tarpaulin install script
run: cargo install cargo-tarpaulin
if: success()
- name: Run tarpaulin and upload to CodeCov.io
run: cargo tarpaulin --out Xml && bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
RUST_LOG: trace
if: success()
- name: Cache node_modules
uses: actions/[email protected]
with:
path: ./node_modules
key: ${{ runner.os }}.node_modules
- name: before cargo cache
run: rm -rf ~/.cargo/registry
- name: Cache cargo directory
uses: actions/[email protected]
with:
key: ${{ runner.os }}.cargo
path: ~/.cargo