Skip to content

Commit

Permalink
Merge branch 'main' into feat/check-if-verified
Browse files Browse the repository at this point in the history
  • Loading branch information
erikburt authored Jan 24, 2025
2 parents 848f735 + e11dad2 commit c0ddcf8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-buses-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"setup-golang": patch
---

Remove caching errors because of tar
12 changes: 9 additions & 3 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,15 @@ jobs:
- name: Check if test secrets are required for any test
shell: bash
run: |
# Check if the test secret key is provided and skip the checks if it is non-empty
if [ -n "${{ secrets.TEST_SECRETS_OVERRIDE_BASE64 }}" ]; then
echo "Test secret key provided. Skipping checks for tests requiring secrets."
# Check if the test secret key is provided from GitHub Secrets and skip the checks if it is non-empty
if [[ -n "${{ secrets.TEST_SECRETS_OVERRIDE_BASE64 }}" ]]; then
echo "Test secrets from GitHub Secret provided. Skipping checks for tests requiring secrets."
exit 0
fi
# Check if the test secret key is provided from AWS Secrets Manager and skip the checks if it is non-empty
if [[ "${{ inputs.test_secrets_override_key }}" =~ ^aws: ]]; then
echo "Test secrets from AWS Secrets Manager provided. Skipping checks for tests requiring secrets."
exit 0
fi
Expand Down
6 changes: 6 additions & 0 deletions actions/setup-golang/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ inputs:
runs:
using: composite
steps:
- name: Setup tar default options
shell: bash
# Do not overwrite existing files when extracting files from a cache archive.
# Since actions/cache does not support this option, we set it here as a default.
run: echo "TAR_OPTIONS=--skip-old-files" >> $GITHUB_ENV

- name: Set up Go
uses: actions/[email protected]
with:
Expand Down

0 comments on commit c0ddcf8

Please sign in to comment.