Skip to content

Add support for Caddy 2 #13

Add support for Caddy 2

Add support for Caddy 2 #13

Workflow file for this run

name: Gocritic Scan
on:
push:
branches:
- "master"
- "main"
paths-ignore:
- "**.md"
pull_request:
branches:
- "*"
paths-ignore:
- "**.md"
jobs:
gocritic-scan:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
check-latest: true
cache: false
- name: Install go-critic
run: go install -v github.com/go-critic/go-critic/cmd/gocritic@latest
- name: Run gocritic
run: gocritic check -checkTests=False ./...