From b79295b6e1ebbb144d635d4a0c77f0f7b6fed880 Mon Sep 17 00:00:00 2001 From: Nicko Guyer Date: Fri, 1 Mar 2024 14:41:55 -0500 Subject: [PATCH] Fix docker build and add to PR checks Signed-off-by: Nicko Guyer --- .github/workflows/go.yml | 6 ++++++ cmd/config.go | 2 +- cmd/evmconnect.go | 2 +- cmd/version.go | 2 +- evmconnect/main.go | 2 +- internal/ethereum/deploy_contract_prepare.go | 2 +- internal/ethereum/error_mapping.go | 2 +- internal/ethereum/get_address_balance.go | 2 +- internal/ethereum/get_block_info.go | 2 +- internal/ethereum/get_gas_price.go | 2 +- internal/ethereum/get_next_nonce.go | 2 +- internal/ethereum/get_receipt.go | 2 +- internal/ethereum/new_block_listener.go | 2 +- internal/ethereum/prepare_transaction.go | 2 +- internal/ethereum/retry_delay.go | 2 +- internal/ethereum/send_transaction.go | 2 +- internal/ethereum/statuses.go | 2 +- 17 files changed, 22 insertions(+), 16 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 85ddad5..4f6dbab 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,3 +25,9 @@ jobs: - name: Upload coverage run: bash <(curl -s https://codecov.io/bash) + docker-build: + runs-on: ubuntu-latest + needs: build + steps: + - name: Build Docker image + run: make docker diff --git a/cmd/config.go b/cmd/config.go index 339a690..02ca34d 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/cmd/evmconnect.go b/cmd/evmconnect.go index 3694bcb..2f8dd4a 100644 --- a/cmd/evmconnect.go +++ b/cmd/evmconnect.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/cmd/version.go b/cmd/version.go index 03aa84a..3ae8b8f 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/evmconnect/main.go b/evmconnect/main.go index 701c372..795f73f 100644 --- a/evmconnect/main.go +++ b/evmconnect/main.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/deploy_contract_prepare.go b/internal/ethereum/deploy_contract_prepare.go index 0e1da55..b53b387 100644 --- a/internal/ethereum/deploy_contract_prepare.go +++ b/internal/ethereum/deploy_contract_prepare.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/error_mapping.go b/internal/ethereum/error_mapping.go index 4307ba4..293f86d 100644 --- a/internal/ethereum/error_mapping.go +++ b/internal/ethereum/error_mapping.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/get_address_balance.go b/internal/ethereum/get_address_balance.go index fe3faf1..d98b78c 100644 --- a/internal/ethereum/get_address_balance.go +++ b/internal/ethereum/get_address_balance.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/get_block_info.go b/internal/ethereum/get_block_info.go index b9865ae..a7de4d6 100644 --- a/internal/ethereum/get_block_info.go +++ b/internal/ethereum/get_block_info.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/get_gas_price.go b/internal/ethereum/get_gas_price.go index 49c71e0..b83899a 100644 --- a/internal/ethereum/get_gas_price.go +++ b/internal/ethereum/get_gas_price.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/get_next_nonce.go b/internal/ethereum/get_next_nonce.go index 4b263d4..8a1fd7a 100644 --- a/internal/ethereum/get_next_nonce.go +++ b/internal/ethereum/get_next_nonce.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/get_receipt.go b/internal/ethereum/get_receipt.go index d5325e7..d55b79f 100644 --- a/internal/ethereum/get_receipt.go +++ b/internal/ethereum/get_receipt.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/new_block_listener.go b/internal/ethereum/new_block_listener.go index ad4c6a8..7d28e79 100644 --- a/internal/ethereum/new_block_listener.go +++ b/internal/ethereum/new_block_listener.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/prepare_transaction.go b/internal/ethereum/prepare_transaction.go index 7cbacac..502b5ad 100644 --- a/internal/ethereum/prepare_transaction.go +++ b/internal/ethereum/prepare_transaction.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/retry_delay.go b/internal/ethereum/retry_delay.go index 8456f66..7be48f1 100644 --- a/internal/ethereum/retry_delay.go +++ b/internal/ethereum/retry_delay.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/send_transaction.go b/internal/ethereum/send_transaction.go index 3e85413..b15aea5 100644 --- a/internal/ethereum/send_transaction.go +++ b/internal/ethereum/send_transaction.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // diff --git a/internal/ethereum/statuses.go b/internal/ethereum/statuses.go index 33c1af3..d00ae6b 100644 --- a/internal/ethereum/statuses.go +++ b/internal/ethereum/statuses.go @@ -1,4 +1,4 @@ -// Copyright © 2022 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 //