Skip to content

GH-475: Prevent sending empty payloads for client addons (#759) #1892

GH-475: Prevent sending empty payloads for client addons (#759)

GH-475: Prevent sending empty payloads for client addons (#759) #1892

Workflow file for this run

name: Main Workflow
on:
pull_request: {}
push:
branches: [ "main", "v1" ]
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: Check that docs were generated
run: make check-docs
- name: Check for linting errors
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: -v -c .golangci.yml
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- name: Run tests
run: make test-acc
- name: Update codecov report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
fail_ci_if_error: false
verbose: true