From 7d30d2751965e400e3fcfa4a55f68faddc05af26 Mon Sep 17 00:00:00 2001 From: devesh711 Date: Mon, 14 Oct 2024 01:01:25 +0530 Subject: [PATCH 1/4] :hammer: Update deploy.yml to node 16 --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aa677ae..3101cdd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,20 +10,20 @@ jobs: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ./.github/actions/check - uses: superfly/flyctl-actions@1.1 with: args: "deploy" - if: success() - uses: slackapi/slack-github-action@v1.18.0 + uses: slackapi/slack-github-action@v1.24.0 with: payload: | { "text": "deployed " } - if: failure() - uses: slackapi/slack-github-action@v1.18.0 + uses: slackapi/slack-github-action@v1.24.0 with: payload: | { From 8c3cbb806c023b3c9c20de225833092eacf96c5e Mon Sep 17 00:00:00 2001 From: devesh711 Date: Tue, 15 Oct 2024 10:41:45 +0530 Subject: [PATCH 2/4] :construction_worker: Update actions/checkout to v4 --- .github/actions/check/action.yml | 4 ++-- .github/workflows/check-pr.yml | 2 +- .github/workflows/deploy.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/check/action.yml b/.github/actions/check/action.yml index d9f6d89..53c1fce 100644 --- a/.github/actions/check/action.yml +++ b/.github/actions/check/action.yml @@ -3,8 +3,8 @@ description: Run CI checks runs: using: composite steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: go-version: 1.23 - shell: bash diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index e11312f..aa21d09 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -7,5 +7,5 @@ jobs: name: Build and Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/check diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3101cdd..130c4c7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/check - uses: superfly/flyctl-actions@1.1 with: From f0deefb5505db00b42d05ebba935decd795f4abc Mon Sep 17 00:00:00 2001 From: devesh711 Date: Tue, 15 Oct 2024 10:47:48 +0530 Subject: [PATCH 3/4] :construction_worker: Update actions/setup-go to v5 --- .github/actions/check/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check/action.yml b/.github/actions/check/action.yml index 53c1fce..d583f2b 100644 --- a/.github/actions/check/action.yml +++ b/.github/actions/check/action.yml @@ -4,7 +4,7 @@ runs: using: composite steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.23 - shell: bash From 5f70ea91ffb77ae73fbd315ca12ae1e445bea332 Mon Sep 17 00:00:00 2001 From: devesh711 Date: Tue, 15 Oct 2024 10:48:32 +0530 Subject: [PATCH 4/4] :construction_worker: Update slackapi/slack-github-action to 1.27.0 --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 130c4c7..1dde383 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,14 +16,14 @@ jobs: with: args: "deploy" - if: success() - uses: slackapi/slack-github-action@v1.24.0 + uses: slackapi/slack-github-action@v1.27.0 with: payload: | { "text": "deployed " } - if: failure() - uses: slackapi/slack-github-action@v1.24.0 + uses: slackapi/slack-github-action@v1.27.0 with: payload: | {