Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
youyo committed Nov 9, 2019
1 parent 313a944 commit 1dbd7d8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/github-actions-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Assume Role
uses: youyo/awscredswrap@master
with:
role_arn: ${ROLE_ARN}
duration_seconds: 3600
role_session_name: 'awscredswrap@GitHubActions'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
ROLE_ARN: ${{ secrets.ROLE_ARN }}
AWS_DEFAULT_REGION: 'ap-northeast-1'
- name: Identity Check
uses: actions/aws/cli@master
with:
args: sts get-caller-identity

0 comments on commit 1dbd7d8

Please sign in to comment.