-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from lidofinance/develop
Pre-Alfa Release
- Loading branch information
Showing
88 changed files
with
8,411 additions
and
1,807 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: "Test Proofs" | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Run Proofs in KaaS | ||
run: | | ||
sha=$(git rev-parse HEAD) | ||
branch_name=$(git rev-parse --abbrev-ref HEAD) | ||
response=$(curl -X POST \ | ||
-w "%{http_code}" \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{ secrets.RV_COMPUTE_TOKEN }}" \ | ||
https://api.github.com/repos/runtimeverification/_kaas_lidofinance_dual-governance/actions/workflows/lido-ci.yml/dispatches \ | ||
-d '{ | ||
"ref": "develop", | ||
"inputs": { | ||
"branch_name": "'"${{ github.event.pull_request.head.sha || github.sha }}"'", | ||
"extra_args": "script", | ||
"statuses_sha": "'$sha'", | ||
"org": "${{ github.repository_owner }}", | ||
"repository": "${{ github.event.repository.name }}", | ||
"auth_token": "'"${{ secrets.LIDO_STATUS_TOKEN }}"'" | ||
} | ||
}') | ||
if [ "$response" -ge 200 ] && [ "$response" -lt 300 ]; then | ||
echo "The request was successful" | ||
elif [ "$response" -ge 400 ] && [ "$response" -lt 500 ]; then | ||
echo "There was a client error: $response" | ||
exit 1 | ||
else | ||
echo "There was a server error: $response" | ||
exit 1 | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
[submodule "lib/forge-std"] | ||
path = lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
[submodule "lib/kontrol-cheatcodes"] | ||
path = lib/kontrol-cheatcodes | ||
url = https://github.com/runtimeverification/kontrol-cheatcodes | ||
[submodule "lib/openzeppelin-contracts"] | ||
path = lib/openzeppelin-contracts | ||
url = https://github.com/OpenZeppelin/openzeppelin-contracts |
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
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
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
Oops, something went wrong.