Skip to content

Conversation

@souleb
Copy link
Contributor

@souleb souleb commented Oct 7, 2024

No description provided.

@souleb souleb force-pushed the attempt-fix-api-docs branch 2 times, most recently from 14fbb04 to 40ec7fe Compare October 7, 2024 21:48
@souleb souleb requested a review from rollandf October 7, 2024 21:49
repository: ${{ github.repository_owner }}/network-operator-docs # repo must be explicitly set here for workflow calling to behave correctly
token: ${{ inputs.token || secrets.GH_TOKEN_NVIDIA_CI_CD }} # token must be explicitly set here for push to work in following step
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
Copy link
Collaborator

@maze88 maze88 Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the Make targets sensitive to the version of the Go action?
If not:

  • Then the GitHub runner's workspace already has Go available, so this step is redundant.

If yes:

  • Prefer to use an explicit tag (version) of the action rather than a commit hash...
  • Furthermore, who is responsible to increment this specific version in the not-near future? perhaps there is a solution that could improve the Go code itself to be less version-sensitive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the bug is related to make api-docs which rely on a go package. It run successfully locally with GO 1.22.7/8 and go 1.23. So my supposition is that it's related to the go installation. I hope that a fresh install can fix it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about adding a dependency for the package (and its specific version) in the code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is already done.

Signed-off-by: Soule <souleb@nvidia.com>
@souleb souleb force-pushed the attempt-fix-api-docs branch from f63fa88 to ec9ce8f Compare October 8, 2024 07:52
@rollandf rollandf merged commit a1faa5a into Mellanox:main Oct 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants