diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 720e8e7e..a197b682 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -81,6 +81,9 @@ jobs: with: PATTERNS: | **/**.py + go.mod + go.sum + gomod2nix.toml - name: run gomod2nix run: | nix run -f ./nix gomod2nix diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index adae63ed..40bb3caa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -101,6 +101,7 @@ jobs: go.mod go.sum tests/integration_tests/** + *.nix - name: Run integration tests run: make run-integration-tests if: env.GIT_DIFF diff --git a/default.nix b/default.nix index 9b621609..5bcfb60d 100644 --- a/default.nix +++ b/default.nix @@ -17,7 +17,7 @@ in buildGoApplication rec { inherit pname version tags ldflags; src = lib.sourceByRegex ./. [ - "^(x|app|cmd|client|server|crypto|rpc|types|encoding|ethereum|indexer|testutil|version|go.mod|go.sum|gomod2nix.toml)($|/.*)" + "^(x|app|cmd|client|server|crypto|rpc|types|encoding|ethereum|indexer|testutil|version|go.mod|go.sum|gomod2nix.toml|store)($|/.*)" "^tests(/.*[.]go)?$" ]; modules = ./gomod2nix.toml; diff --git a/gomod2nix.toml b/gomod2nix.toml index 4c83a26c..9a8ae0da 100644 --- a/gomod2nix.toml +++ b/gomod2nix.toml @@ -200,8 +200,9 @@ schema = 3 version = "v1.0.0" hash = "sha256-k1DYvCqO3BKNcGEve/nMW0RxzMkK2tGfXbUbycqcVSo=" [mod."github.com/ethereum/go-ethereum"] - version = "v1.10.26" - hash = "sha256-gkMEwJ4rOgn12amD4QpZ4th/10uyTTeoFmpseuKDQPs=" + version = "v1.10.26-spc" + hash = "sha256-Xzp0RdXEo7a1IaZ2feEEGQnSdtL2xjLm8Ldhb6+oiHU=" + replaced = "github.com/zeta-chain/go-ethereum" [mod."github.com/felixge/httpsnoop"] version = "v1.0.2" hash = "sha256-hj6FZQ1fDAV+1wGIViAt8XaAkWZ1I5vJzgjIJa7XRBA="