Skip to content

feat: auto add slash for url #349

feat: auto add slash for url

feat: auto add slash for url #349

Workflow file for this run

name: Test
on: [push, pull_request]
env:
GODEBUG: tracebackancestors=1000
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.21
- uses: actions/checkout@v4
- name: lint
if: matrix.os == 'ubuntu-latest'
run: go run github.com/ysmood/golangci-lint@latest -v 1.57.2
- name: test
env:
TERM: xterm-256color
run: go test -coverprofile="coverage.out" ./...
- name: coverage
if: matrix.os == 'ubuntu-latest'
run: go run ./cmd/check-cov