characters_on_current_line
change (#2)
#4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |