Skip to content

Use bundle URL version as the cache version - #69

Merged
alexkappa merged 12 commits into
masterfrom
fix-self-hosted-stale-bundle-download
Jun 19, 2020
Merged

Use bundle URL version as the cache version#69
alexkappa merged 12 commits into
masterfrom
fix-self-hosted-stale-bundle-download

Conversation

@alexkappa

@alexkappaalexkappa commented Jun 17, 2020

Copy link
Copy Markdown
Contributor

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

@robertbrignullrobertbrignull left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Implementation LGTM

@alexkappa
alexkappa marked this pull request as ready for review June 19, 2020 09:14
Comment threadlib/setup-tools.js Outdated
@alexkappaalexkappa changed the title wip: hash bundle url and use it as the cache versionUse bundle URL version as the cache versionJun 19, 2020
Comment threadsrc/setup-tools.ts Outdated
Comment threadsrc/setup-tools.test.ts Outdated
Comment threadsrc/setup-tools.test.ts Outdated
@robertbrignull

Copy link
Copy Markdown
Contributor

The unit tests look really good to me and look like they validate the behaviour pretty well. I'm running a quick test locally too just to make sure, but I don't expect it to fail.

@robertbrignullrobertbrignull left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've tested this and confirmed it's downloading and using the correct versions now

root@02c171a6cfa5:/actions-runner# ls _work/_tool/CodeQL/
0.0.0-20200427 0.0.0-20200601 1.0.0

Unless anyone else has comments I think this is ready to merge whenever you want.

Alex Kalyvitisand others added 2 commits June 19, 2020 13:27
Co-authored-by: Robert <robertbrignull@github.com>
Sign up for freeto 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

@alexkappa@robertbrignull@chrisgavin@tibbes