Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Setup Environment
description: Sets up Go (dynamically from go.mod) and installs system dependencies

inputs:
bust_lumera_retag:
description: "One-time: remove lumera sums after retag"
required: false
default: 'false'
inputs: {}
# bust_lumera_retag:
# description: "One-time: remove lumera sums after retag"
# required: false
# default: 'false'
outputs:
go-version:
description: "Go version parsed from go.mod"
Expand Down Expand Up @@ -33,17 +33,17 @@ runs:
sudo apt-get update
sudo apt-get install -y libwebp-dev make

- name: One-time reset retagged lumera checksums
if: ${{ inputs.bust_lumera_retag == 'true' }}
shell: bash
run: |
echo "Busting go.sum entries for github.com/LumeraProtocol/lumera v1.8.0 (one-time)"
# Remove stale checksums in all local modules
find . -name 'go.sum' -maxdepth 3 -print0 | xargs -0 -I{} sed -i \
'/github.com\/LumeraProtocol\/lumera v1.8.0/d' {}
# Clear module/build caches to avoid cached zips
go clean -modcache || true
rm -rf "$(go env GOCACHE)" || true
# - name: One-time reset retagged lumera checksums
# if: ${{ inputs.bust_lumera_retag == 'true' }}
# shell: bash
# run: |
# echo "Busting go.sum entries for github.com/LumeraProtocol/lumera v1.11.0-rc (one-time)"
# # Remove stale checksums in all local modules
# find . -name 'go.sum' -maxdepth 3 -print0 | xargs -0 -I{} sed -i \
# '/github.com\/LumeraProtocol\/lumera v1.11.0-rc/d' {}
# # Clear module/build caches to avoid cached zips
# go clean -modcache || true
# rm -rf "$(go env GOCACHE)" || true

- name: Set Go Private Modules
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build&release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:

- name: Setup Go and dependencies
uses: ./.github/actions/setup-env
with:
bust_lumera_retag: 'true'
# with:
# bust_lumera_retag: 'true'

- name: Build binaries
run: |
Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:

- name: Setup Go and dependencies
uses: ./.github/actions/setup-env
with:
bust_lumera_retag: 'true'
# with:
# bust_lumera_retag: 'true'

- name: Prepare Release Variables
id: vars
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
uses: actions/checkout@v6.0.1
- name: Setup Go and system deps
uses: ./.github/actions/setup-env
with:
bust_lumera_retag: 'true'
# with:
# bust_lumera_retag: 'true'
- name: Go mod tidy
run: go mod tidy

Expand All @@ -35,8 +35,8 @@ jobs:

- name: Setup Go and system deps
uses: ./.github/actions/setup-env
with:
bust_lumera_retag: 'true'
# with:
# bust_lumera_retag: 'true'

- name: Go mod tidy
run: go mod tidy
Expand All @@ -54,8 +54,8 @@ jobs:

- name: Setup Go and system deps
uses: ./.github/actions/setup-env
with:
bust_lumera_retag: 'true'
# with:
# bust_lumera_retag: 'true'

- name: Go mod tidy
run: go mod tidy
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ gen-supernode:
--grpc-gateway_out=gen \
--grpc-gateway_opt=paths=source_relative \
--openapiv2_out=gen \
proto/supernode/service.proto proto/supernode/status.proto
proto/supernode/service.proto proto/supernode/status.proto proto/supernode/storage_challenge.proto

# Define the paths
SUPERNODE_SRC=supernode/main.go
Expand Down Expand Up @@ -205,4 +205,3 @@ test-sn-manager:
@echo "Running sn-manager e2e tests..."
@cd tests/system && ${GO} test -tags=system_test -v -run '^TestSNManager' .


2 changes: 1 addition & 1 deletion cmd/sncli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ replace (

require (
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
github.com/LumeraProtocol/lumera v1.10.0
github.com/LumeraProtocol/lumera v1.11.0-rc
github.com/LumeraProtocol/supernode/v2 v2.0.0-00010101000000-000000000000
github.com/cosmos/cosmos-sdk v0.53.5
github.com/spf13/cobra v1.10.1
Expand Down
4 changes: 2 additions & 2 deletions cmd/sncli/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.50
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.50.0 h1:ig/FpDD2JofP/NExKQUbn7uOSZzJAQqogfqluZK4ed4=
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.50.0/go.mod h1:otE2jQekW/PqXk1Awf5lmfokJx4uwuqcj1ab5SpGeW0=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
github.com/LumeraProtocol/lumera v1.10.0 h1:IIuvqlFNUPoSkTJ3DoKDNHtr3E0+8GmE4CiNbgTzI2s=
github.com/LumeraProtocol/lumera v1.10.0/go.mod h1:p2sZZG3bLzSBdaW883qjuU3DXXY4NJzTTwLywr8uI0w=
github.com/LumeraProtocol/lumera v1.11.0-rc h1:ISJLUhjihuOterLMHpgGWpMZmybR1vmQLNgmSHkc1WA=
github.com/LumeraProtocol/lumera v1.11.0-rc/go.mod h1:p2sZZG3bLzSBdaW883qjuU3DXXY4NJzTTwLywr8uI0w=
github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4=
github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
Expand Down
2 changes: 1 addition & 1 deletion gen/supernode/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading