Skip to content

Commit 6fb0b9d

Browse files
committed
Revert "ci: remove workflow file paths from PR triggers and redundant if conditions"
This reverts commit 37b0de9.
1 parent 37b0de9 commit 6fb0b9d

File tree

8 files changed

+28
-4
lines changed

8 files changed

+28
-4
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
22
pull_request:
33
paths:
4+
- .github/workflows/ci-aptos-contract.yml
45
- target_chains/aptos/contracts/**
56
push:
67
branches:
@@ -29,9 +30,12 @@ jobs:
2930

3031
- name: Check Formatting
3132
run: ./aptos move fmt
33+
if: success() || failure()
3234

3335
- name: Lint
3436
run: ./aptos move lint --check-test-code --dev
37+
if: success() || failure()
3538

3639
- name: Run tests
3740
run: ./aptos move test
41+
if: success() || failure()

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Test CosmWasm Contract
33
on:
44
pull_request:
55
paths:
6+
- .github/workflows/ci-cosmwasm-contract.yml
67
- target_chains/cosmwasm/**
78
- wormhole_attester/sdk/rust/**
89
push:

.github/workflows/ci-fortuna.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Check Fortuna
33
on:
44
pull_request:
55
paths:
6+
- .github/workflows/ci-fortuna.yml
67
- apps/fortuna/**
78
push:
89
branches: [main]
@@ -24,7 +25,10 @@ jobs:
2425
override: true
2526
- name: Format check
2627
run: cargo fmt --all -- --check
28+
if: success() || failure()
2729
- name: Clippy check
2830
run: cargo clippy --tests -- --deny warnings
31+
if: success() || failure()
2932
- name: Run tests
3033
run: cargo test
34+
if: success() || failure()

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232
run: forc test --verbose
3333
- name: Rust add wasm32-unknown-unknown target
3434
run: rustup target add wasm32-unknown-unknown
35-
- name: Format check
36-
run: cargo fmt --all -- --check
37-
- name: Clippy check
38-
run: cargo clippy --tests -- --deny warnings
3935
- name: Build
4036
run: cargo build --verbose
4137
- name: Run tests

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Check Hermes Server
33
on:
44
pull_request:
55
paths:
6+
- .github/workflows/ci-hermes-server.yml
67
- apps/hermes/server/**
78
push:
89
branches: [main]
@@ -29,7 +30,10 @@ jobs:
2930
repo-token: ${{ secrets.GITHUB_TOKEN }}
3031
- name: Format check
3132
run: cargo fmt --all -- --check
33+
if: success() || failure()
3234
- name: Clippy check
3335
run: cargo clippy --tests -- --deny warnings
36+
if: success() || failure()
3437
- name: Run executor tests
3538
run: cargo test
39+
if: success() || failure()

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- main
66
pull_request:
77
paths:
8+
- .github/workflows/ci-lazer-rust.yml
89
- lazer/**
910

1011
jobs:
@@ -38,9 +39,13 @@ jobs:
3839
run: find . -name Cargo.toml -exec taplo fmt --check --diff {} \;
3940
- name: Format check
4041
run: cargo fmt --all -- --check
42+
if: success() || failure()
4143
- name: Clippy check
4244
run: cargo clippy --all-targets -- --deny warnings
45+
if: success() || failure()
4346
- name: Build Solana programs
4447
run: cargo build-sbf
48+
if: success() || failure()
4549
- name: test
4650
run: cargo test
51+
if: success() || failure()

.github/workflows/ci-remote-executor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Check Remote Executor
33
on:
44
pull_request:
55
paths:
6+
- .github/workflows/ci-remote-executor.yml
67
- governance/remote_executor/**
78
push:
89
branches: [main]
@@ -30,7 +31,10 @@ jobs:
3031
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3132
- name: Format check
3233
run: cargo fmt --all -- --check
34+
if: success() || failure()
3335
- name: Clippy check
3436
run: cargo clippy --tests -- --deny warnings
37+
if: success() || failure()
3538
- name: Run executor tests
3639
run: cargo test-sbf
40+
if: success() || failure()

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Test Solana Contract
33
on:
44
pull_request:
55
paths:
6+
- .github/workflows/ci-solana-contract.yml
67
- target_chains/solana/**
78
- pythnet/pythnet_sdk/**
89
push:
@@ -34,11 +35,16 @@ jobs:
3435
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3536
- name: Format check
3637
run: cargo fmt --all -- --check
38+
if: success() || failure()
3739
- name: Clippy check
3840
run: cargo clippy --tests -- --deny warnings
41+
if: success() || failure()
3942
- name: Build
4043
run: cargo-build-sbf
44+
if: success() || failure()
4145
- name: Run tests
4246
run: cargo-test-sbf
47+
if: success() || failure()
4348
- name: Run sdk tests
4449
run: cargo test --package pyth-solana-receiver-sdk
50+
if: success() || failure()

0 commit comments

Comments
 (0)