Skip to content

Commit

Permalink
test AWS creds in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Squizzato <[email protected]>
  • Loading branch information
squizzi committed Aug 29, 2024
1 parent 0046a7c commit f2f8de6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@ on:

env:
GO_VERSION: '1.22'
AWS_REGION: us-west-2
AWS_ACCESS_KEY_ID: ${{ secrets.CI_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_AWS_SECRET_ACCESS_KEY }}

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Verify AWS creds
run: |
echo $(aws sts get-caller-identity)
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
Expand All @@ -56,10 +62,6 @@ jobs:
name: E2E Tests
runs-on: ubuntu-latest
needs: build
env:
AWS_REGION: us-west-2
AWS_ACCESS_KEY_ID: ${{ secrets.CI_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit f2f8de6

Please sign in to comment.