Skip to content

Commit

Permalink
misc workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-3 committed Aug 29, 2024
1 parent 7078cce commit 3b058b2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 26 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Deployment
name: Full Deployment

on:
workflow_dispatch:
# push:
# branches:
# - main
# paths-ignore:
# - 'README.md'

jobs:
Deploy-to-main:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/EthDeploy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Ethereum Deployment

# on:
# push:
# branches:
# - main

on: workflow_dispatch
on:
workflow_dispatch:

env:
FOUNDRY_PROFILE: ci
Expand Down Expand Up @@ -46,6 +42,5 @@ jobs:
ALCHEMY_ENDPOINT: ${{secrets.ALCHEMY_ENDPOINT}}
PRIVATE_KEY: ${{secrets.PRIVATE_KEY}}
ETHERSCAN_KEY: ${{secrets.ETHERSCAN_KEY}}
run: |
run: |
forge script script/DeployScript.s.sol:DeployScript --rpc-url "$ALCHEMY_ENDPOINT" --private-key "$PRIVATE_KEY" --etherscan-api-key "$ETHERSCAN_KEY" --broadcast --verify -vvvv
8 changes: 5 additions & 3 deletions .github/workflows/Foundry_tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Foundry Tests

on:
workflow_dispatch:
push:
branches:
- main
- test-fixes
# push:
# paths:
# - 'public-gateway/**'
paths:
- "TNLS-Gateways/public-gateway/**"
- ".github/workflows/Foundry_tests.yml"

jobs:
tests:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Python package
name: Relayer Tests

on:
workflow_dispatch:
push:
branches:
- main
- test-fixes
# push:
# paths:
# - 'TNLS-Relayers/**'
# - '.github/workflows/Python_tests.yml'
paths:
- "TNLS-Relayers/**"
- ".github/workflows/Relayer_tests.yml"

jobs:
build-and-test-python:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Secret_gateway_tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Secret Gateway
name: Secret Gateway Tests

on:
workflow_dispatch:
push:
branches:
- test-fixes
# push:
# paths:
# - 'TNLS-Gateways/secret/**'
paths:
- "TNLS-Gateways/secret/**"
- ".github/workflows/Secret_gateway_tests.yml"

defaults:
run:
Expand Down

0 comments on commit 3b058b2

Please sign in to comment.