Skip to content

Escape hyphens in user/group character classes #238

Escape hyphens in user/group character classes

Escape hyphens in user/group character classes #238

Workflow file for this run

# .github/workflows/main.yaml
name: main
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Run staticcheck
run: staticcheck ./...
- name: Install golint
run: go install golang.org/x/lint/golint@latest
- name: Run golint
run: golint ./...
- name: Run Tests
run: go test -cover -p 1 -race -v ./...