Allowing a cached version of the CodeQL bundle sometimes

To save time downloading the CodeQL bundle we're pre-downloading it into the
hosted Actions runner, but because the release schedule is different there may
be some version drift. This change allows a different version of the bundle
to be used than the default if a version isn't explicitly specified, there's
only one version downloaded, and it's been marked as a 'pinned-version' -
otherwise it reverts to the prior behavior.
This commit is contained in:
Chris Raynor 2020-09-22 14:38:27 +01:00
parent 367ad73efb
commit 41464b1396
No known key found for this signature in database
GPG key ID: 579A1FBC36FDA261
7 changed files with 276 additions and 2 deletions

BIN
src/testdata/codeql-bundle-pinned.tar.gz vendored Normal file

Binary file not shown.