Skip to content

Merge pull request #420 from domainr/dependabot/go_modules/github.com… #682

Merge pull request #420 from domainr/dependabot/go_modules/github.com…

Merge pull request #420 from domainr/dependabot/go_modules/github.com… #682

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
workflow_dispatch: # Enables the web UI manual trigger
jobs:
test:
name: Test
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Checkout repo
uses: actions/[email protected]
with:
submodules: recursive
- name: Set up Go
uses: actions/[email protected]
with:
go-version: ^1
- name: Vet Go code
run: go vet ./...
- name: govulncheck
uses: golang/[email protected]
with:
cache: false
repo-checkout: false
- name: Run Go tests
run: go test -mod=readonly -v -race ./...
- name: Verify repo is unchanged
run: git diff --exit-code HEAD