Merge pull request #235 from rainlanguage/234-make-sure-that-assume-e… #461
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
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 }} |