Skip to content

Commit

Permalink
feat: add test step
Browse files Browse the repository at this point in the history
  • Loading branch information
scheying committed Oct 2, 2023
1 parent 89c0b4b commit eff62d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ jobs:
release-type: simple
package-name: gh-action-baseproject

- name: Retrieve annotated tags
run: |
git fetch --tags --force

8 changes: 6 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Call baseproject GHA
id: run
id: baseproject
uses: ./
with:
project_name: github-actions-baseproject-tests
Expand All @@ -29,4 +29,8 @@ jobs:
run: kubectl create configmap test-runner-${{ github.run_id }}-${{ github.run_number }} --from-literal=foo=bar

- name: '[TEST] Vault read'
run: vault read sys/auth/token
uses: hashicorp/vault-action@v2
with:
url: steps.baseproject.outputs.vault_url
secrets: |
sys/auth token | AWS_ACCESS_KEY_ID ;

0 comments on commit eff62d2

Please sign in to comment.