Skip to content

Merge pull request #120 from masutaka/dependabot/go_modules/golang.or… #111

Merge pull request #120 from masutaka/dependabot/go_modules/golang.or…

Merge pull request #120 from masutaka/dependabot/go_modules/golang.or… #111

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- run: make test-all
pushover:
name: pushover if failure
if: github.ref_name == github.event.repository.default_branch && failure()
needs: [test]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: pushover-actions
uses: umahmood/[email protected]
env:
PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_API_KEY }}
PUSHOVER_USER: ${{ secrets.PUSHOVER_USER_KEY }}
with:
status: ${{ job.status }}
title: "Failed ${{ github.event.repository.full_name }}'s workflow (${{ github.workflow }})"
url: "${{ github.server_url }}/${{ github.event.repository.full_name }}/actions/runs/${{ github.run_id }}"
priority: 1 # High