all: update named.root file in CI #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout repo | |
uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: ^1 | |
- name: Update root cache | |
run: go generate -v -x | |
- name: Vet Go code | |
run: go vet ./... | |
- name: govulncheck | |
uses: golang/[email protected] | |
with: | |
cache: false | |
repo-checkout: false | |
- 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 |