Skip to content

Merge pull request #3 from caddy-dns/dependabot/go_modules/github.com… #7

Merge pull request #3 from caddy-dns/dependabot/go_modules/github.com…

Merge pull request #3 from caddy-dns/dependabot/go_modules/github.com… #7

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