add retry logic for notifications #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Run Unit Tests | |
on: | |
workflow_call: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- "cmd/**" | |
- "internal/**" | |
- "pkg/**" | |
- "go.mod" | |
- "go.sum" | |
- "Dockerfile" | |
workflow_dispatch: | |
jobs: | |
tests: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
check-latest: true | |
cache: true | |
- name: Install Dependencies | |
run: | | |
make download | |
- name: Run Unit Tests | |
run: | | |
make test |