compiler-research / CppInterOp

A Clang-based C++ Interoperability Library
Other
38 stars 20 forks source link

Reduce warnings ci #236

Closed mcbarton closed 2 months ago

mcbarton commented 2 months ago

@vgvassilev can you merge this PR? It reduces the warnings outputted by the ci by updating to the latest version of various Github actions.

mcbarton commented 2 months ago

@vgvassilev can you take a look at this PR? The changes are needed due to Githubs move from node 12 to node 16 (don't know exactly what this means). Without these changes the workflow will eventually fail to run. The remaining warnings regarding this issue will be solved in a subsequent PR. Its not clear which is the best strategy to deal with the issue in regards of the Github action nelonoel/branch-name@v1.0.1 . This action seems to have been abandoned so won't be updated to fix the issue. Given it simply returns the branch name then its probably just worth replacing with our own action to do this, or integrate this into one of the other actions in the workflow.

alexander-penev commented 2 months ago

@vgvassilev ... Its not clear which is the best strategy to deal with the issue in regards of the Github action nelonoel/branch-name@v1.0.1 . This action seems to have been abandoned so won't be updated to fix the issue. Given it simply returns the branch name then its probably just worth replacing with our own action to do this, or integrate this into one of the other actions in the workflow.

I'm not sure, but this BRANCH_NAME has been out of use for a long time. If it is still needed, perhaps it can be taken from GITHUB_REF, if of course such a variable exists in the environment, similar to what they do in the abandoned action: nelonoel/branch-name

mcbarton commented 2 months ago

@vgvassilev ... Its not clear which is the best strategy to deal with the issue in regards of the Github action nelonoel/branch-name@v1.0.1 . This action seems to have been abandoned so won't be updated to fix the issue. Given it simply returns the branch name then its probably just worth replacing with our own action to do this, or integrate this into one of the other actions in the workflow.

I'm not sure, but this BRANCH_NAME has been out of use for a long time. If it is still needed, perhaps it can be taken from GITHUB_REF, if of course such a variable exists in the environment, similar to what they do in the abandoned action: nelonoel/branch-name

I'll perform a run without this action, to see whether we even need it anymore, and if so where.

mcbarton commented 2 months ago

@alexander-penev The workflow ran successfully without the branch-name action. Can you merge this PR?