Skip to content

Commit

Permalink
bump rainix
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jan 8, 2024
1 parent 6e461d6 commit bc7bddc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 10 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/manual-sol-artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Manual sol artifacts
on:
workflow_dispatch:
inputs:
network:
description: 'Network to deploy to'
required: true
type: string

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@v3

- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2

- run: nix run .#rainix-prelude
- run: nix run .#rainix-sol-artifacts
env:
CI_DEPLOY_RPC_URL: ${{ inputs.network == 'polygon' && secrets.CI_DEPLOY_POLYGON_RPC_URL || secrets.CI_DEPLOY_RPC_URL }}
EXPLORER_VERIFICATION_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }}
11 changes: 6 additions & 5 deletions .github/workflows/rainix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
task: [ci-rs-test, ci-rs-artifacts]
task: [rainix-rs-test, rainix-rs-artifacts]
include:
# Solidity doesn't need to be tested on multiple platforms
- os: ubuntu-latest
task: ci-sol-test
task: rainix-sol-test
- os: ubuntu-latest
task: ci-sol-static
task: rainix-sol-static
- os: ubuntu-latest
task: ci-sol-artifacts
task: rainix-sol-artifacts
# We don't need to do rust static analysis on multiple platforms
- os: ubuntu-latest
task: ci-rs-static
task: rainix-rs-static
runs-on: ${{ matrix.os }}
env:
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }}
Expand All @@ -28,6 +28,7 @@ jobs:
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2

- run: nix run .#rainix-prelude
- name: Run ${{ matrix.task }}
env:
CI_DEPLOY_RPC_URL: ${{ secrets.CI_DEPLOY_RPC_URL }}
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Flake for development workflows.";

inputs = {
rainix.url = "github:rainprotocol/rainix/511d871b1d1c3e8bf8084dbdfb54b00add52d1e1";
rainix.url = "github:rainprotocol/rainix/18b1d1aea4ad69b2a18070f49af669e72d32d000";
flake-utils.url = "github:numtide/flake-utils";
};

Expand Down

0 comments on commit bc7bddc

Please sign in to comment.