[governance] move governance related components under this directory (#489)

* [governance] bring related stuff in governance dir

* [governance] fix changes
This commit is contained in:
Ali Behjati 2023-01-13 18:58:44 +01:00 committed by GitHub
parent 7cc5123a53
commit daad5c6dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
149 changed files with 29 additions and 29 deletions

View File

@ -2,13 +2,13 @@ on:
pull_request: pull_request:
paths: paths:
- target-chains/ethereum/** - target-chains/ethereum/**
- third_party/pyth/xc-governance-sdk-js/** - governance/xc-governance-sdk-js/**
push: push:
branches: branches:
- main - main
paths: paths:
- target-chains/ethereum/** - target-chains/ethereum/**
- third_party/pyth/xc-governance-sdk-js/** - governance/xc-governance-sdk-js/**
name: Ethereum Contract name: Ethereum Contract
@ -24,7 +24,7 @@ jobs:
- name: Install XC-governance sdk dependencies - name: Install XC-governance sdk dependencies
run: npm ci run: npm ci
working-directory: third_party/pyth/xc-governance-sdk-js working-directory: governance/xc-governance-sdk-js
- name: Install contract npm dependencies - name: Install contract npm dependencies
run: npm ci run: npm ci

View File

@ -2,10 +2,10 @@ name: Check Remote Executor
on: on:
pull_request: pull_request:
paths: [pythnet/remote-executor/**] paths: [governance/remote-executor/**]
push: push:
branches: [main] branches: [main]
paths: [pythnet/remote-executor/**] paths: [governance/remote-executor/**]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -22,4 +22,4 @@ jobs:
sh -c "$(curl -sSfL https://release.solana.com/stable/install)" sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Run executor tests - name: Run executor tests
run: cargo test-bpf --manifest-path ./pythnet/remote-executor/Cargo.toml run: cargo test-bpf --manifest-path ./governance/remote-executor/Cargo.toml

View File

@ -1,16 +1,16 @@
name: Check Xc Admin name: Check Xc Admin
on: on:
pull_request: pull_request:
paths: [xc-admin/**] paths: [governance/xc-admin/**]
push: push:
branches: [main] branches: [main]
paths: [xc-admin/**] paths: [governance/xc-admin/**]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:
working-directory: xc-admin/ working-directory: governance/xc-admin/
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Run xc-admin tests - name: Run xc-admin tests

View File

@ -21,15 +21,15 @@ repos:
- id: cargo-fmt-remote-executor - id: cargo-fmt-remote-executor
name: Cargo format for remote executor name: Cargo format for remote executor
language: "rust" language: "rust"
entry: cargo +nightly fmt --manifest-path ./pythnet/remote-executor/Cargo.toml --all -- --config-path rustfmt.toml entry: cargo +nightly fmt --manifest-path ./governance/remote-executor/Cargo.toml --all -- --config-path rustfmt.toml
pass_filenames: false pass_filenames: false
files: pythnet/remote-executor files: governance/remote-executor
- id: cargo-clippy-remote-executor - id: cargo-clippy-remote-executor
name: Cargo clippy for remote executor name: Cargo clippy for remote executor
language: "rust" language: "rust"
entry: cargo +nightly clippy --manifest-path ./pythnet/remote-executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings entry: cargo +nightly clippy --manifest-path ./governance/remote-executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
pass_filenames: false pass_filenames: false
files: pythnet/remote-executor files: governance/remote-executor
# Hooks for the attester # Hooks for the attester
- id: cargo-fmt-attester - id: cargo-fmt-attester
name: Cargo format for attester name: Cargo format for attester

View File

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 308 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More