Skip to content

ignore zero time while encoding vanflow time #39

ignore zero time while encoding vanflow time

ignore zero time while encoding vanflow time #39

Workflow file for this run

name: Unit Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Test
run: go test -race -v -short ./...
- run: "go vet ./..."
- uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2023.1.7"
install-go: false
integration:
runs-on: ubuntu-latest
env:
QDR_ENDPOINT: amqp://127.0.0.1:5672
services:
qdr:
image: quay.io/ckruse/vanflow-qdr:latest
ports:
- 5672:5672
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Test
run: go test -count=1 -v ./...