Skip to content

characters_on_current_line change (#2) #4

characters_on_current_line change (#2)

characters_on_current_line change (#2) #4

Workflow file for this run

name: Example
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run example
run: |
cargo run -F inline-source-map --example source_map_creation -- LICENSE LICENSE.map
echo "### Input
\`\`\`
$(cat LICENSE)
\`\`\`
### Output
\`\`\`
$(cat LICENSE.map)
\`\`\`
> ctrl-c the above output and paste into https://evanw.github.io/source-map-visualization
" >> $GITHUB_STEP_SUMMARY