Skip to content

feat: add trunk to ssj #414

feat: add trunk to ssj

feat: add trunk to ssj #414

Workflow file for this run

name: Compare Snapshot
on: pull_request
permissions:
pull-requests: write
jobs:
compare-snapshot:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9" # Specify the Python version required
- name: Set up Scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: 0.7.0
- name: Run compare_snapshot script
id: run-script
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
result=$(python scripts/compare_snapshot.py)
result=$(echo "$result" | tail -n +3) # Strip the first two lines
result="${result//'%'/'%25'}"
result="${result//$'\n'/'%0A'}"
result="${result//$'\r'/'%0D'}"
echo "${result}" >> $GITHUB_STEP_SUMMARY