Skip to content

Merge pull request #7 from libdns/dependabot/go_modules/golang.org/x/… #16

Merge pull request #7 from libdns/dependabot/go_modules/golang.org/x/…

Merge pull request #7 from libdns/dependabot/go_modules/golang.org/x/… #16

Workflow file for this run

---
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- name: Build
run: go build -v ./...
codechecks:
name: Code checks
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
args: --out-format=github-actions,line-number