Skip to content

fix: fix event_alert schema #18

fix: fix event_alert schema

fix: fix event_alert schema #18

Workflow file for this run

name: testing
on:
push:
pull_request:
permissions:
contents: read
pull-requests: read
checks: write
jobs:
code-lint:
name: code-lint
runs-on: ubuntu-latest
steps:
- name: install deps
run: sudo apt install gcc
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go>
with:
go-version: stable
- name: Install Go dependencies
run: go mod download
- name: Run linter
uses: golangci/golangci-lint-action@v4
with:
version: v1.55.2 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: -v --timeout=10m --out-format=colored-line-number
unit-test:
name: unit-test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go>
with:
go-version: stable
- name: Install Go dependencies
run: go mod download
- name: Run tests
run: go test ./...