Open h0tw1r3 opened 2 months ago
FYI, I think the CI failed on MacOS runners because of segfaults. This isn't anything to do with the changes here, rather we should look into this separately.
I also think there should be some logic added to detect presence of a cached venv before creating a venv. https://github.com/cpp-linter/cpp-linter-action/blob/a3ed7553c695735e6d1af356a0c0211a77d42c7b/action.yml#L241 https://github.com/cpp-linter/cpp-linter-action/blob/a3ed7553c695735e6d1af356a0c0211a77d42c7b/action.yml#L277 The above lines might fail if the venv folder already exists.
I guess we should also cache pip's global cache as well if this new option is enabled.
hashFiles
currently doesn't support globs outside of the GITHUB_WORKSPACE. This works around the limitation.