Skip to content

Commit d5a75be

Browse files
authored
Merge pull request #2357 from pyth-network/devin/1738961031-update-ci-workflow-triggers
ci: update workflow triggers to run on workflow changes and all merges to main
2 parents 099f680 + a01fc38 commit d5a75be

22 files changed

+51
-67
lines changed

.github/workflows/ci-aptos-contract.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
push:
66
branches:
77
- main
8-
paths:
9-
- target_chains/aptos/contracts/**
108

119
name: Aptos Contract
1210

.github/workflows/ci-cosmwasm-contract.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
push:
99
branches:
1010
- main
11-
paths:
12-
- target_chains/cosmwasm/**
13-
- wormhole_attester/sdk/rust/**
1411

1512
env:
1613
CARGO_TERM_COLOR: always

.github/workflows/ci-ethereum-contract.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
push:
77
branches:
88
- main
9-
paths:
10-
- target_chains/ethereum/contracts/**
11-
- governance/xc_admin/packages/xc_admin_common/**
129

1310
name: Ethereum Contract
1411

.github/workflows/ci-fortuna.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ name: Check Fortuna
22

33
on:
44
pull_request:
5-
paths: [apps/fortuna/**]
5+
paths:
6+
- apps/fortuna/**
67
push:
78
branches: [main]
8-
paths: [apps/fortuna/**]
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
- uses: Swatinem/rust-cache@v2
15+
with:
16+
workspaces: "apps/fortuna -> target"
1417
- uses: actions-rs/toolchain@v1
1518
with:
1619
profile: minimal

.github/workflows/ci-foundry-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
paths:
11-
- target_chains/ethereum/sdk/stylus/**
1210
env:
1311
FOUNDRY_PROFILE: ci
1412
jobs:

.github/workflows/ci-fuel-contract.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
paths:
11-
- target_chains/fuel/**
1210

1311
env:
1412
CARGO_TERM_COLOR: always
@@ -21,6 +19,9 @@ jobs:
2119
working-directory: target_chains/fuel/contracts/
2220
steps:
2321
- uses: actions/checkout@v2
22+
- uses: Swatinem/rust-cache@v2
23+
with:
24+
workspaces: "target_chains/fuel/contracts -> target"
2425
- name: Install Fuel toolchain
2526
run: |
2627
curl https://install.fuel.network | sh

.github/workflows/ci-hermes-server.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ name: Check Hermes Server
22

33
on:
44
pull_request:
5-
paths: [apps/hermes/server/**]
5+
paths:
6+
- apps/hermes/server/**
67
push:
78
branches: [main]
8-
paths: [apps/hermes/server/**]
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
- uses: Swatinem/rust-cache@v2
15+
with:
16+
workspaces: "apps/hermes/server -> target"
1417
- uses: actions-rs/toolchain@v1
1518
with:
1619
profile: minimal

.github/workflows/ci-lazer-rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
paths:
7-
- lazer/**
86
pull_request:
97
paths:
108
- lazer/**
@@ -23,6 +21,9 @@ jobs:
2321
- uses: actions-rust-lang/setup-rust-toolchain@v1
2422
with:
2523
toolchain: 1.81.0
24+
- uses: Swatinem/rust-cache@v2
25+
with:
26+
workspaces: "lazer -> target"
2627
- name: Install Foundry
2728
uses: foundry-rs/foundry-toolchain@v1
2829
- name: install extra tools

.github/workflows/ci-lazer-sdk-evm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
paths:
7-
- lazer/contracts/evm/**
86
pull_request:
97
paths:
108
- lazer/contracts/evm/**

.github/workflows/ci-lazer-solana-contract.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
paths:
7-
- lazer/**
86
pull_request:
97
paths:
108
- lazer/**

0 commit comments

Comments
 (0)