-
Notifications
You must be signed in to change notification settings - Fork 3
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 #17 from rainlanguage/2024-02-28-bump-i9r
2024 02 28 bump i9r
- Loading branch information
Showing
41 changed files
with
798 additions
and
788 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
name: Manual sol artifacts | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
network: | ||
description: 'Network to deploy to' | ||
required: true | ||
type: choice | ||
options: | ||
- polygon | ||
- songbird | ||
- flare | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- run: nix develop --command rainix-sol-prelude | ||
- run: nix develop --command rainix-sol-artifacts | ||
env: | ||
ETH_RPC_URL: ${{ inputs.network == 'polygon' && secrets.CI_DEPLOY_POLYGON_RPC_URL || inputs.network == 'songbird' && secrets.CI_DEPLOY_SONGBIRD_RPC_URL || inputs.network == 'flare' && secrets.CI_DEPLOY_FLARE_RPC_URL || '' }} | ||
# Flare has hardcoded api key https://flarescan.com/documentation/recipes/foundry-verification | ||
ETHERSCAN_API_KEY: ${{ inputs.network == 'flare' && 'verifyContract' || secrets.EXPLORER_VERIFICATION_KEY }} | ||
DEPLOY_VERIFIER: ${{ inputs.network == 'songbird' && 'blockscout' || inputs.network == 'polygon' && 'etherscan' || '' }} | ||
DEPLOY_VERIFIER_URL: ${{ inputs.network == 'songbird' && 'https://songbird-explorer.flare.network/api' || inputs.network == 'flare' && 'https://api.routescan.io/v2/network/mainnet/evm/14/etherscan' || '' }} |
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,31 @@ | ||
name: Rainix CI | ||
on: [push] | ||
|
||
jobs: | ||
standard-tests: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
task: [rainix-sol-test, rainix-sol-static] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- run: nix develop --command rainix-sol-prelude | ||
|
||
- name: Run ${{ matrix.task }} | ||
env: | ||
ETH_RPC_URL: ${{ secrets.CI_DEPLOY_RPC_URL }} | ||
ETHERSCAN_API_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }} | ||
DEPLOY_VERIFIER: 'etherscan' | ||
run: nix develop --command ${{ matrix.task }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule rain.factory
updated
from e6babf to c6d665
Submodule rain.interpreter.interface
updated
5 files
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.