Skip to content

Additional LongPollWait supporting code #30

Additional LongPollWait supporting code

Additional LongPollWait supporting code #30

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/test.yml"
- "**Makefile"
- "**.go"
- "**.proto"
- "go.mod"
- "go.sum"
jobs:
test-linux:
name: Build and test on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v2
with:
go-version: '1.20'
id: go
- name: Check out code
uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go1.20-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go1.20-
- name: Run unit tests
run: make testvv
env:
TEST_FLAGS: -race
- name: Report failures to Slack
if: ${{ always() && github.ref == 'refs/heads/main' }}
uses: ravsamhq/notify-slack-action@v2
with:
notification_title: "It seems that my sole purpose in this dismal existence is to spread the gloomy news of broken code and shattered dreams."
footer: "I think you ought to know I'm feeling very depressed."
status: ${{ job.status }}
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_REPORTING_WEBHOOK }}