Skip to content

Commit

Permalink
Merge pull request #46 from devesh711/dp/update-github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfalting authored Oct 15, 2024
2 parents fc9542f + 5f70ea9 commit cf8e979
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v5
with:
go-version: 1.23
- shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v4
- uses: ./.github/actions/check
- uses: superfly/[email protected]
with:
args: "deploy"
- if: success()
uses: slackapi/slack-github-action@v1.18.0
uses: slackapi/slack-github-action@v1.27.0
with:
payload: |
{
"text": "deployed <https://github.com/${{ github.repository }}/commit/${{ github.sha}}|${{ github.sha }}>"
}
- if: failure()
uses: slackapi/slack-github-action@v1.18.0
uses: slackapi/slack-github-action@v1.27.0
with:
payload: |
{
Expand Down

0 comments on commit cf8e979

Please sign in to comment.