Skip to content

Commit

Permalink
build solidity function selector mapping and check that git tree is s…
Browse files Browse the repository at this point in the history
…till clean
  • Loading branch information
snissn committed Jan 9, 2024
1 parent 003ac8f commit a7d3991
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-check-solidity-selector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Check Solidity Selector Library

on:
push:
branches:
- main

jobs:
build-and-check:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set Up Environment
run: # Add any setup commands here, if necessary

- name: Build Selector Library
run: |
cd contracts &&
make build-selector-library
- name: Check Git Status
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Error: Git status is dirty after build"
exit 1
fi

0 comments on commit a7d3991

Please sign in to comment.