Skip to content

Commit 3e2ae82

Browse files
authored
test: change dummy SOPS_AGE_KEY for encryption/decryption tests (#901)
* test: hard-code dummy SOPS_AGE_KEY for encryption/decryption tests * fix(test): replace hard-coded SOPS_AGE_KEY with variable reference
1 parent 0dcb62e commit 3e2ae82

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,11 @@ jobs:
9292
API_SECRET: api_Secret1
9393
GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
9494
HTTP_PROXY: http://localhost:3128
95-
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
95+
SOPS_AGE_KEY: ${{ vars.SOPS_AGE_KEY }} # used to encrypt/decrypt files in internal/encryption/testdata
9696
# Required for Bitwarden Go SDK, see CONTRIBUTING.md
9797
CGO_ENABLED: 1
9898
CC: musl-gcc
9999
BW_SDK_BUILD_FLAGS: "-linkmode external -extldflags '-static -Wl,-unresolved-symbols=ignore-all'"
100-
SECRET_PROVIDER_ACCESS_TOKEN: ${{ secrets.SECRET_PROVIDER_ACCESS_TOKEN }}
101-
SECRET_PROVIDER: bitwarden_sm
102-
SECRET_PROVIDER_API_URL: https://vault.bitwarden.eu/api
103-
SECRET_PROVIDER_IDENTITY_URL: https://vault.bitwarden.eu/identity
104100
- name: Upload coverage reports to Codecov
105101
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
106102
with:

0 commit comments

Comments
 (0)