Skip to content

Automatic update for Fri Apr 19 08:19:19 UTC 2024 #269

Automatic update for Fri Apr 19 08:19:19 UTC 2024

Automatic update for Fri Apr 19 08:19:19 UTC 2024 #269

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@v4.1.2
with:
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v5.0.0
with:
go-version: ^1
- name: Vet Go code
run: go vet ./...
- name: Run flaky test
env:
DNSR_DEBUG: 1
run: go test -v -race ./... -run UK
- name: Test Go code
env:
DNSR_TIMEOUT: 5s
run: go test -v -race ./...
- name: Verify repo is unchanged
run: git diff --exit-code HEAD