Skip to content

Commit

Permalink
set output correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin committed Nov 22, 2023
1 parent 8675a6c commit beb1185
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions sync/sync_head_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Check warning on line 128 in sync/sync_head_test.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
//TODO implement me
// TODO implement me
panic("implement me")
}

func (t *wrappedGetter) GetByHeight(ctx context.Context, u uint64) (*headertest.DummyHeader, error) {

Check warning on line 133 in sync/sync_head_test.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
//TODO implement me
// TODO implement me
panic("implement me")
}

Expand All @@ -140,6 +140,6 @@ func (t *wrappedGetter) GetRangeByHeight(
from *headertest.DummyHeader,

Check warning on line 140 in sync/sync_head_test.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 'from' seems to be unused, consider removing or renaming it as _ (revive)
to uint64,

Check warning on line 141 in sync/sync_head_test.go

View workflow job for this annotation

GitHub Actions / Lint

unused-parameter: parameter 'to' seems to be unused, consider removing or renaming it as _ (revive)
) ([]*headertest.DummyHeader, error) {
//TODO implement me
// TODO implement me
panic("implement me")
}

0 comments on commit beb1185

Please sign in to comment.