From beb1185370b6ab21dc34bb90b2fb492dca212029 Mon Sep 17 00:00:00 2001 From: ramin Date: Wed, 22 Nov 2023 12:40:47 +0000 Subject: [PATCH] set output correctly --- .github/workflows/go-ci.yml | 3 ++- sync/sync_head_test.go | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml index 708d073e..5f1698dd 100644 --- a/.github/workflows/go-ci.yml +++ b/.github/workflows/go-ci.yml @@ -23,7 +23,8 @@ jobs: - name: Read .go-version file id: go-version - run: echo "go-version=$(cat .go-version)" >> $GITHUB_ENV + run: | + echo "go-version=$(cat .go-version)" >> $GITHUB_OUTPUT lint: needs: [setup] diff --git a/sync/sync_head_test.go b/sync/sync_head_test.go index 29b75ff4..8c6ad27d 100644 --- a/sync/sync_head_test.go +++ b/sync/sync_head_test.go @@ -126,12 +126,12 @@ func (t *wrappedGetter) Head(ctx context.Context, options ...header.HeadOption[* } func (t *wrappedGetter) Get(ctx context.Context, hash header.Hash) (*headertest.DummyHeader, error) { - //TODO implement me + // TODO implement me panic("implement me") } func (t *wrappedGetter) GetByHeight(ctx context.Context, u uint64) (*headertest.DummyHeader, error) { - //TODO implement me + // TODO implement me panic("implement me") } @@ -140,6 +140,6 @@ func (t *wrappedGetter) GetRangeByHeight( from *headertest.DummyHeader, to uint64, ) ([]*headertest.DummyHeader, error) { - //TODO implement me + // TODO implement me panic("implement me") }