source-map 0.15.0

Utilities for building source maps (v3) for a compiler
Documentation
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@v4
      - uses: actions/cache@v4
        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