Skip to content

Commit

Permalink
Merge pull request #52 from rainlanguage/2024-01-06-bindings-crate
Browse files Browse the repository at this point in the history
Bindings crate
  • Loading branch information
thedavidmeister authored Jan 7, 2024
2 parents 8d54853 + 78a8fab commit 38db479
Show file tree
Hide file tree
Showing 29 changed files with 2,926 additions and 239 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@ jobs:
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }}
steps:
- uses: actions/checkout@v3

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Report public key to make it easy to send funds for deployments
run: cast wallet address "${DEPLOYMENT_KEY}"
- name: Forge shallow install
run: forge install --shallow

- name: Forge deploy contracts to mumbai
env:
CI_DEPLOY_RPC_URL: ${{ secrets.CI_DEPLOY_RPC_URL }}
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/docs.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/fn-selectors.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/rainix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Rainix CI
on: [push]

jobs:
standard-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
task: [ci-rs-test, ci-rs-artifacts]
include:
# Solidity doesn't need to be tested on multiple platforms
- os: ubuntu-latest
task: ci-sol-test
- os: ubuntu-latest
task: ci-sol-static
- os: ubuntu-latest
task: ci-sol-artifacts
# We don't need to do rust static analysis on multiple platforms
- os: ubuntu-latest
task: ci-rs-static
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

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

- run: nix run .#ci-prep
- run: nix run .#${{ matrix.task }}
8 changes: 0 additions & 8 deletions .github/workflows/slither.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/snapshot.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/test.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
out
cache
result
meta
meta
target
Loading

0 comments on commit 38db479

Please sign in to comment.