Skip to content

dev: add pre-commit hook to format project (#174) #6

dev: add pre-commit hook to format project (#174)

dev: add pre-commit hook to format project (#174) #6

Workflow file for this run

name: Generate and Upload Gas Snapshot
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Set up Scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "nightly-2023-08-12"
- name: Generate gas snapshot
run: python scripts/gen_snapshot.py
- name: Upload gas snapshot to GitHub Artifacts
uses: actions/upload-artifact@v2
with:
name: gas-snapshot
path: gas_snapshot.json