Skip to content

Conversation

lakkeger
Copy link
Contributor

Motivation

Our GHA can be referenced multiple ways, ie with LocalStack/setup-localstack or as localstack/setup-localstack. However our local cache hack is not tolerating the variations and it fails if other versions are present. To fix this we'd like to ignore case sensitivity and pick the last available version in the cache.
The precedence order will be alphabetic due to ls.
Hence the resulted precedence order will be:

  • localstack < LocalStack
  • v0.1.2 < v0.2.0
  • main < v0.1.2

Changes

  • ignore cases
  • enforce the above precedence order
Copy link

⚡️ Running CI build with LocalStack ...

@lakkeger lakkeger linked an issue Jun 10, 2024 that may be closed by this pull request
@lakkeger lakkeger marked this pull request as ready for review June 11, 2024 08:51
@lakkeger lakkeger requested a review from HarshCasper June 11, 2024 08:52
@lakkeger lakkeger merged commit 8d133b9 into main Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants