Skip to content
Merged
2 changes: 0 additions & 2 deletions .github/workflows/ci-aptos-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
push:
branches:
- main
paths:
- target_chains/aptos/contracts/**

name: Aptos Contract

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci-cosmwasm-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
push:
branches:
- main
paths:
- target_chains/cosmwasm/**
- wormhole_attester/sdk/rust/**

env:
CARGO_TERM_COLOR: always
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci-ethereum-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
push:
branches:
- main
paths:
- target_chains/ethereum/contracts/**
- governance/xc_admin/packages/xc_admin_common/**

name: Ethereum Contract

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci-fortuna.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ name: Check Fortuna

on:
pull_request:
paths: [apps/fortuna/**]
paths:
- apps/fortuna/**
push:
branches: [main]
paths: [apps/fortuna/**]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: "apps/fortuna -> target"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-foundry-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
env:
FOUNDRY_PROFILE: ci
jobs:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-fuel-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
push:
branches:
- main
paths:
- target_chains/fuel/**

env:
CARGO_TERM_COLOR: always
Expand All @@ -21,6 +19,9 @@ jobs:
working-directory: target_chains/fuel/contracts/
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: "target_chains/fuel/contracts -> target"
- name: Install Fuel toolchain
run: |
curl https://install.fuel.network | sh
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci-hermes-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ name: Check Hermes Server

on:
pull_request:
paths: [apps/hermes/server/**]
paths:
- apps/hermes/server/**
push:
branches: [main]
paths: [apps/hermes/server/**]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: "apps/hermes/server -> target"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-lazer-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- main
paths:
- lazer/**
pull_request:
paths:
- lazer/**
Expand All @@ -23,6 +21,9 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.81.0
- uses: Swatinem/rust-cache@v2
with:
workspaces: "lazer -> target"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: install extra tools
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-lazer-sdk-evm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- main
paths:
- lazer/contracts/evm/**
pull_request:
paths:
- lazer/contracts/evm/**
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-lazer-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- main
paths:
- lazer/**
pull_request:
paths:
- lazer/**
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-message-buffer-idl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
push:
branches:
- main
paths:
- pythnet/message_buffer/**
jobs:
abi-check:
name: Check Message Buffer IDL files are up to date
Expand All @@ -18,6 +16,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: "pythnet/message_buffer -> target"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/ci-near-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
push:
branches:
- main
paths:
- target_chains/near/**
- wormhole_attester/sdk/rust/**
- .github/workflows/ci-near-contract.yml

env:
CARGO_TERM_COLOR: always
Expand All @@ -26,6 +22,9 @@ jobs:
working-directory: target_chains/near/receiver
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: "target_chains/near/receiver -> target"
- name: Test
run: ./workspace-test.sh
reproducible-build:
Expand All @@ -36,6 +35,9 @@ jobs:
working-directory: target_chains/near/receiver
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: "target_chains/near/receiver -> target"
- run: sudo apt-get install -y libudev-dev
- run: cargo +stable install --locked [email protected]
- run: cargo near build reproducible-wasm
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci-remote-executor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Check Remote Executor

on:
pull_request:
paths: [governance/remote_executor/**]
paths:
- governance/remote_executor/**
push:
branches: [main]
paths: [governance/remote_executor/**]
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -18,6 +18,9 @@ jobs:
toolchain: 1.73.0
components: rustfmt, clippy
override: true
- uses: Swatinem/rust-cache@v2
with:
workspaces: "governance/remote_executor -> target"
- name: Install Solana
run: |
sh -c "$(curl -sSfL https://release.solana.com/v1.18.23/install)"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
push:
branches:
- main
paths:
- target_chains/solana/**
- pythnet/pythnet_sdk/**

env:
CARGO_TERM_COLOR: always
Expand All @@ -23,6 +20,9 @@ jobs:
working-directory: target_chains/solana
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: "target_chains/solana -> target"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-starknet-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
push:
branches:
- main
paths:
- target_chains/starknet/contracts/**
jobs:
check:
name: Starknet Foundry tests
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci-starknet-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Check Starknet Tools

on:
pull_request:
paths: [target_chains/starknet/tools/**]
paths:
- target_chains/starknet/tools/**
push:
branches: [main]
paths: [target_chains/starknet/tools/**]
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -18,6 +18,9 @@ jobs:
components: rustfmt, clippy
override: true
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: "target_chains/starknet/tools/test_vaas -> target"
- name: Install Scarb
uses: software-mansion/setup-scarb@v1
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-stylus-check-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
permissions:
contents: read
concurrency:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-stylus-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ on:
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-stylus-nostd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand All @@ -37,6 +35,9 @@ jobs:
with:
toolchain: stable
rustflags: ""
- uses: Swatinem/rust-cache@v2
with:
workspaces: "target_chains/ethereum/sdk/stylus -> target"
- name: Add rust targets ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}
- name: Cargo check
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/ci-sui-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
push:
branches:
- main
paths:
- target_chains/sui/contracts/**

name: Sui Contracts

Expand All @@ -19,12 +17,16 @@ jobs:
working-directory: target_chains/sui/contracts/
steps:
- uses: actions/checkout@v3

- name: Update rust
run: rustup update stable

- name: Install Sui CLI
run: cargo install --locked --git https://github.com/MystenLabs/sui.git --rev 041c5f2bae2fe52079e44b70514333532d69f4e6 sui
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.77.0
override: true
- uses: taiki-e/cache-cargo-install-action@v2
with:
tool: sui
git: https://github.com/MystenLabs/sui.git
rev: 041c5f2bae2fe52079e44b70514333532d69f4e6

- name: Run tests
run: sui move test
8 changes: 0 additions & 8 deletions .github/workflows/ci-turbo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ on:
- "**/tsconfig.json"
push:
branches: [main]
paths:
- "**.tsx?"
- "**.jsx?"
- "**.json"
- "**.sol"
- "**/package.json"
- "**/package-lock.json"
- "**/tsconfig.json"
jobs:
build:
runs-on: ubuntu-latest
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/ci-turbo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ on:
- "**/tsconfig.json"
push:
branches: [main]
paths:
- "**.tsx?"
- "**.jsx?"
- "**.json"
- "**.sol"
- "**/package.json"
- "**/package-lock.json"
- "**/tsconfig.json"
jobs:
test:
runs-on: ubuntu-latest
Expand Down
Loading