From 9cb27cadf8f8e7224f9e450f619745014a45cf88 Mon Sep 17 00:00:00 2001 From: Eoin Shanaghy Date: Sat, 4 Nov 2023 09:22:49 +0000 Subject: [PATCH] chore: use latest GitHub actions --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- sam-test-project/template.yaml | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c750080a..23194045 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,8 +17,8 @@ jobs: node-version: [18, 20] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }}.x cache: 'npm' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eec73f97..32254522 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@master + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: 18.x registry-url: "https://registry.npmjs.org" diff --git a/sam-test-project/template.yaml b/sam-test-project/template.yaml index c59475a4..ce186a11 100755 --- a/sam-test-project/template.yaml +++ b/sam-test-project/template.yaml @@ -9,11 +9,10 @@ Transform: Metadata: slicWatch: enabled: true - alarmActionsConfig: { - alarmActions: [!Ref MonitoringTopic], - okActions: [!Ref MonitoringTopic], + alarmActionsConfig: + alarmActions: [!Ref MonitoringTopic] + okActions: [!Ref MonitoringTopic] actionsEnabled: true - } alarms: Lambda: Invocations: