fix: usn sources #150
This file contains hidden or 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: Generate and Upload Gas Snapshot | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.x | |
| - name: Set up Scarb | |
| uses: software-mansion/setup-scarb@v1 | |
| - name: Generate gas snapshot | |
| run: python pragma-deployer/pragma_deployer/gas_usage/gen_snapshot.py | |
| - name: Upload gas snapshot to GitHub Artifacts | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: gas-snapshot | |
| path: gas_snapshot.json |