Skip to content

Commit 37b0de9

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
and
Jayant Krishnamurthy
committed
ci: remove workflow file paths from PR triggers and redundant if conditions
Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>
1 parent ee0ae64 commit 37b0de9

File tree

8 files changed

+4
-28
lines changed

8 files changed

+4
-28
lines changed

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

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

3130
- name: Check Formatting
3231
run: ./aptos move fmt
33-
if: success() || failure()
3432

3533
- name: Lint
3634
run: ./aptos move lint --check-test-code --dev
37-
if: success() || failure()
3835

3936
- name: Run tests
4037
run: ./aptos move test
41-
if: success() || failure()

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

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

.github/workflows/ci-fortuna.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Check Fortuna
33
on:
44
pull_request:
55
paths:
6-
- .github/workflows/ci-fortuna.yml
76
- apps/fortuna/**
87
push:
98
branches: [main]
@@ -25,10 +24,7 @@ jobs:
2524
override: true
2625
- name: Format check
2726
run: cargo fmt --all -- --check
28-
if: success() || failure()
2927
- name: Clippy check
3028
run: cargo clippy --tests -- --deny warnings
31-
if: success() || failure()
3229
- name: Run tests
3330
run: cargo test
34-
if: success() || failure()

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ 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
3539
- name: Build
3640
run: cargo build --verbose
3741
- name: Run tests

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Check Hermes Server
33
on:
44
pull_request:
55
paths:
6-
- .github/workflows/ci-hermes-server.yml
76
- apps/hermes/server/**
87
push:
98
branches: [main]
@@ -30,10 +29,7 @@ jobs:
3029
repo-token: ${{ secrets.GITHUB_TOKEN }}
3130
- name: Format check
3231
run: cargo fmt --all -- --check
33-
if: success() || failure()
3432
- name: Clippy check
3533
run: cargo clippy --tests -- --deny warnings
36-
if: success() || failure()
3734
- name: Run executor tests
3835
run: cargo test
39-
if: success() || failure()

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

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

1110
jobs:
@@ -39,13 +38,9 @@ jobs:
3938
run: find . -name Cargo.toml -exec taplo fmt --check --diff {} \;
4039
- name: Format check
4140
run: cargo fmt --all -- --check
42-
if: success() || failure()
4341
- name: Clippy check
4442
run: cargo clippy --all-targets -- --deny warnings
45-
if: success() || failure()
4643
- name: Build Solana programs
4744
run: cargo build-sbf
48-
if: success() || failure()
4945
- name: test
5046
run: cargo test
51-
if: success() || failure()

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

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

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Test Solana Contract
33
on:
44
pull_request:
55
paths:
6-
- .github/workflows/ci-solana-contract.yml
76
- target_chains/solana/**
87
- pythnet/pythnet_sdk/**
98
push:
@@ -35,16 +34,11 @@ jobs:
3534
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3635
- name: Format check
3736
run: cargo fmt --all -- --check
38-
if: success() || failure()
3937
- name: Clippy check
4038
run: cargo clippy --tests -- --deny warnings
41-
if: success() || failure()
4239
- name: Build
4340
run: cargo-build-sbf
44-
if: success() || failure()
4541
- name: Run tests
4642
run: cargo-test-sbf
47-
if: success() || failure()
4843
- name: Run sdk tests
4944
run: cargo test --package pyth-solana-receiver-sdk
50-
if: success() || failure()

0 commit comments

Comments
 (0)