Skip to content

Commit

Permalink
[Misc]: adding multiple targets for install script job (#435)
Browse files Browse the repository at this point in the history
* [Misc]: adding multiple targets for install script job

* [Misc]: updating installScript test job - this should fail on purpose

* [Misc]: fixing part of script, install job still should fail

* [Misc]: fixing part of script, install job still should fail

* [Misc]: adding checkout, job still should fail due to install script

* [Misc]: adding set -e to installScript job

* [Misc]: fixing typo in install script
  • Loading branch information
joshfried-aws committed Dec 13, 2023
1 parent bb224fe commit ea90d59
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,21 @@ jobs:
uses: actions-rust-lang/rustfmt@v1

installScript:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-13-xlarge]
runs-on: ${{ matrix.os }}
name: Testing Install Script (install-guard.sh)
runs-on: ubuntu-latest
steps:
- name: Test install script on ubuntu-latest
- uses: actions/checkout@v3
name: Checkout cfn-guard
with:
path: cloudformation-guard
- name: Test install script on ${{ matrix.os }}
run: |
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/aws-cloudformation/cloudformation-guard/main/install-guard.sh | sh
set -e
cd cloudformation-guard
sh install-guard.sh
linting:
name: Linting check (clippy)
Expand Down

0 comments on commit ea90d59

Please sign in to comment.