From 774cfc207525cd1d7b1bf03d95a3717550f05387 Mon Sep 17 00:00:00 2001 From: Nicolas Corthorn Date: Sun, 10 Nov 2024 22:59:07 -0800 Subject: [PATCH] IO: Fix lint --- .github/workflows/main.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e85108..9c06ea9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,6 @@ jobs: - name: Install dependencies run: | make install - - name: Lint - run: | - make lint - name: Test with pytest env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -36,10 +33,18 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-2 - - name: Deploy with SAM + - name: SAM build if: success() env: AWS_SAM_STACK_NAME: ${{ secrets.AWS_SAM_STACK_NAME }} run: | make sambuild + - name: Lint + run: | + make lint + - name: SAM deploy + if: success() + env: + AWS_SAM_STACK_NAME: ${{ secrets.AWS_SAM_STACK_NAME }} + run: | make samdeploy