Skip to content

Commit daad5c6

Browse files
authored
[governance] move governance related components under this directory (#489)
* [governance] bring related stuff in governance dir * [governance] fix changes
1 parent 7cc5123 commit daad5c6

File tree

149 files changed

+29
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+29
-29
lines changed

.github/workflows/ethereum-contract.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ on:
22
pull_request:
33
paths:
44
- target-chains/ethereum/**
5-
- third_party/pyth/xc-governance-sdk-js/**
5+
- governance/xc-governance-sdk-js/**
66
push:
77
branches:
88
- main
99
paths:
1010
- target-chains/ethereum/**
11-
- third_party/pyth/xc-governance-sdk-js/**
11+
- governance/xc-governance-sdk-js/**
1212

1313
name: Ethereum Contract
1414

@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Install XC-governance sdk dependencies
2626
run: npm ci
27-
working-directory: third_party/pyth/xc-governance-sdk-js
27+
working-directory: governance/xc-governance-sdk-js
2828

2929
- name: Install contract npm dependencies
3030
run: npm ci

.github/workflows/remote-executor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Check Remote Executor
22

33
on:
44
pull_request:
5-
paths: [pythnet/remote-executor/**]
5+
paths: [governance/remote-executor/**]
66
push:
77
branches: [main]
8-
paths: [pythnet/remote-executor/**]
8+
paths: [governance/remote-executor/**]
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
@@ -22,4 +22,4 @@ jobs:
2222
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
2323
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
2424
- name: Run executor tests
25-
run: cargo test-bpf --manifest-path ./pythnet/remote-executor/Cargo.toml
25+
run: cargo test-bpf --manifest-path ./governance/remote-executor/Cargo.toml

.github/workflows/xc-admin.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: Check Xc Admin
22
on:
33
pull_request:
4-
paths: [xc-admin/**]
4+
paths: [governance/xc-admin/**]
55
push:
66
branches: [main]
7-
paths: [xc-admin/**]
7+
paths: [governance/xc-admin/**]
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
defaults:
1212
run:
13-
working-directory: xc-admin/
13+
working-directory: governance/xc-admin/
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Run xc-admin tests

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ repos:
2121
- id: cargo-fmt-remote-executor
2222
name: Cargo format for remote executor
2323
language: "rust"
24-
entry: cargo +nightly fmt --manifest-path ./pythnet/remote-executor/Cargo.toml --all -- --config-path rustfmt.toml
24+
entry: cargo +nightly fmt --manifest-path ./governance/remote-executor/Cargo.toml --all -- --config-path rustfmt.toml
2525
pass_filenames: false
26-
files: pythnet/remote-executor
26+
files: governance/remote-executor
2727
- id: cargo-clippy-remote-executor
2828
name: Cargo clippy for remote executor
2929
language: "rust"
30-
entry: cargo +nightly clippy --manifest-path ./pythnet/remote-executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
30+
entry: cargo +nightly clippy --manifest-path ./governance/remote-executor/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
3131
pass_filenames: false
32-
files: pythnet/remote-executor
32+
files: governance/remote-executor
3333
# Hooks for the attester
3434
- id: cargo-fmt-attester
3535
name: Cargo format for attester

0 commit comments

Comments
 (0)