Skip to content

Commit

Permalink
ci: add step names
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Jun 20, 2024
1 parent 62150b0 commit 9ebe4c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
args: --all --all-features -- -D warnings

build-test:
name: Run tests
runs-on: ubuntu-latest
needs: lint

Expand All @@ -44,6 +45,7 @@ jobs:
run: cargo test --verbose

docker:
name: Build docker image
runs-on: ubuntu-latest
needs: build-test

Expand Down Expand Up @@ -76,7 +78,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

deploy_staging:
name: Deploy Blobscan indexer (staging)
name: Deploy to staging
runs-on: ubuntu-latest
needs: docker
environment: staging
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
args: --all --all-features -- -D warnings

build-test:
name: Run tests
runs-on: ubuntu-latest
needs: lint

Expand All @@ -46,6 +47,7 @@ jobs:
run: cargo test --verbose

docker:
name: Build docker image
runs-on: ubuntu-latest
needs: build-test

Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

deploy_sepolia:
name: Deploy Blobscan indexer (sepolia)
name: Deploy (sepolia)
runs-on: ubuntu-latest
needs: docker
environment: sepolia
Expand All @@ -92,7 +94,7 @@ jobs:
script: ./deploy-blobscan-indexer.rs.sh

deploy_holesky:
name: Deploy Blobscan indexer (holesky)
name: Deploy (holesky)
runs-on: ubuntu-latest
needs: docker
environment: holesky
Expand All @@ -106,7 +108,7 @@ jobs:
script: ./deploy-blobscan-indexer.rs.sh

deploy_gnosis:
name: Deploy Blobscan indexer (gnosis)
name: Deploy (gnosis)
runs-on: ubuntu-latest
needs: docker
environment: gnosis
Expand All @@ -120,7 +122,7 @@ jobs:
script: ./deploy-blobscan-indexer.rs.sh

deploy_mainnet:
name: Deploy Blobscan indexer (mainnet)
name: Deploy (mainnet)
runs-on: ubuntu-latest
needs: [deploy_sepolia, deploy_holesky, deploy_gnosis]
environment: mainnet
Expand Down

0 comments on commit 9ebe4c1

Please sign in to comment.