Merge pull request #120 from gildlab/07-09-2024-convert-receiptvault-… #464
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: | |
rainix: | |
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 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- run: nix develop -c rainix-sol-prelude | |
- name: Run ${{ matrix.task }} | |
env: | |
ETH_RPC_URL: ${{ secrets.CI_DEPLOY_RPC_URL }} | |
ETHERSCAN_API_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }} | |
run: nix develop -c ${{ matrix.task }} |