fix: ethjs port conflict issue #100
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: charts/ethereum-node | |
on: | |
pull_request: | |
paths: | |
- charts/ethereum-node/** | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.head_ref }}-${{ matrix.network }}-${{ matrix.consensus }}-${{ matrix.execution }} | |
cancel-in-progress: true | |
strategy: | |
fail-fast: false | |
matrix: | |
consensus: [teku, prysm, lighthouse, nimbus, lodestar, grandine] | |
execution: [geth, nethermind, erigon, besu, ethereumjs, reth] | |
network: [sepolia, mainnet] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch default branch | |
run: git fetch origin ${{ github.event.repository.default_branch }}:${{ github.event.repository.default_branch }} | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.7.0 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: 3.7 | |
- name: Run pre-commit hooks | |
uses: pre-commit/action@v3.0.0 | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.0 | |
with: | |
version: "v3.10.0" | |
- name: Check if chart got changed | |
id: list-changed | |
run: | | |
if ct list-changed --config ct.yaml --target-branch ${{ github.event.repository.default_branch }} | grep -q 'charts/ethereum-node'; then | |
echo "changed=true" >> $GITHUB_OUTPUT | |
fi | |
- name: Run chart-testing (lint) | |
run: > | |
ct lint | |
--config ct.yaml | |
--target-branch ${{ github.event.repository.default_branch }} | |
--charts charts/ethereum-node | |
- name: Create kind cluster | |
uses: helm/kind-action@v1.5.0 | |
if: steps.list-changed.outputs.changed == 'true' | |
- name: Run chart-testing (install) | |
if: steps.list-changed.outputs.changed == 'true' | |
run: > | |
ct install | |
--config ct.yaml | |
--target-branch ${{ github.event.repository.default_branch }} | |
--charts charts/ethereum-node | |
--helm-extra-set-args=" | |
--values=charts/ethereum-node/ci/networks/${{ matrix.network }}.yaml | |
--values=charts/ethereum-node/ci/clients/execution/${{ matrix.execution }}.yaml | |
--values=charts/ethereum-node/ci/clients/consensus/${{ matrix.consensus }}.yaml | |
" |