Skip to content

Commit

Permalink
Bump iamlive to v1.1.6 as default version
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Dec 19, 2023
1 parent 82a5dfd commit 7e6f800
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/test-iamlive-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: true
matrix:
iamliveVersion: [v0.48.0, v0.49.0, v0.53.0]
iamliveVersion: [v0.49.0, v0.53.0, v1.1.6]

steps:
- name: Check out code
Expand All @@ -72,7 +72,7 @@ jobs:
with:
iamlive-version: ${{ matrix.iamliveVersion }}
auto-capture: true
output-file: ./test-policy.json
output-file: ./test-policy-${{ matrix.iamliveVersion }}.json

- name: Check output and installPath
run: |
Expand Down Expand Up @@ -106,15 +106,20 @@ jobs:

needs: [utilize]

strategy:
fail-fast: true
matrix:
iamliveVersion: [v0.49.0, v0.53.0, v1.1.6]

steps:
- name: download-policy
uses: actions/[email protected]
with:
name: test-policy.json
name: test-policy-${{ matrix.iamliveVersion }}.json

- name: check-policy
run: |
echo "assert policy has file"
cat ./test-policy.json
cat test-policy.json | grep 's3:CreateBucket'
cat test-policy.json | grep 's3:ListAllMyBuckets'
cat ./test-policy-${{ matrix.iamliveVersion }}.json
cat test-policy-${{ matrix.iamliveVersion }}.json | grep 's3:CreateBucket'
cat test-policy-${{ matrix.iamliveVersion }}.json | grep 's3:ListAllMyBuckets'
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ author: Marco Franssen
inputs:
iamlive-version:
description: >-
The iamlive version you want to use (defaults to v0.53.0).
The iamlive version you want to use (defaults to v1.1.6).
required: false
default: v0.53.0
default: v1.1.6
auto-capture:
description: >-
If enabled, iamlive will auto-capture the policy in the given output-file and upload it as artifact.
Expand Down

0 comments on commit 7e6f800

Please sign in to comment.