Skip to content

gha: remove GOPATH and workingdir, update actions/setup-go@v4, actions/checkout@v4#53

Merged
dmcgowan merged 3 commits intocontainerd:mainfrom
thaJeztah:gha_rm_workingdir
Sep 15, 2023
Merged

gha: remove GOPATH and workingdir, update actions/setup-go@v4, actions/checkout@v4#53
dmcgowan merged 3 commits intocontainerd:mainfrom
thaJeztah:gha_rm_workingdir

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

No description provided.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 13, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.05% 🎉

Comparison is base (e2d9a1b) 64.55% compared to head (239594b) 64.61%.

❗ Current head 239594b differs from pull request most recent head 0296210. Consider uploading reports for the commit 0296210 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   64.55%   64.61%   +0.05%     
==========================================
  Files           9        9              
  Lines        1834     1834              
==========================================
+ Hits         1184     1185       +1     
+ Misses        499      498       -1     
  Partials      151      151              

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -29 to -34
path: src/github.com/containerd/nri
fetch-depth: 25

- uses: containerd/project-checks@v1
with:
working-directory: src/github.com/containerd/nri
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Isn't this the culprit for the DCO check failure ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, I want to have a look why it still needs GOPATH. I could add it back for just this action, but perhaps we can fix that (it would save having to hard-code paths in github actions)

@thaJeztah
Copy link
Copy Markdown
Member Author

Looks like the containerd "project" action depends on GOPATH in some way; need to check why (and if we can fix that)

@klihub
Copy link
Copy Markdown
Member

klihub commented Sep 13, 2023

Looks like the containerd "project" action depends on GOPATH in some way; need to check why (and if we can fix that)

Actually it is not the DCO check that failed but the file header check. And looking at the action it looks like it requires the working-directory input to be set. Now I wonder how come it did not fail with an error message complaining about that. Looks like it went berserk instead and scanned all files it could then complained about the lack of the containerd licence header.

We're only working with modules in this repo, so we should not have
a need for this.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Member Author

Yes, I spotted that working-dir "required" property in the project-check repository; so I think that could be related indeed.

Guess I need to look more into that; in the meantime, I reverted the GOPATH, path, and working-dir changes for the project-checks (but kept it for all the other changes). I think that should probably unblock this PR

Copy link
Copy Markdown
Member

@klihub klihub left a comment

Choose a reason for hiding this comment

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

LGTM.

@dmcgowan dmcgowan merged commit ab78d10 into containerd:main Sep 15, 2023
@thaJeztah thaJeztah deleted the gha_rm_workingdir branch September 15, 2023 17:08
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.

4 participants