Skip to content

Handle slash at endpoint #326

Handle slash at endpoint

Handle slash at endpoint #326

Workflow file for this run

name: Golangci-lint
on:
pull_request:
branches: [main]
jobs:
lint:
name: Run linter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with: { go-version-file: go.mod }
- name: Check formatting using gofmt
run: gofmt -s -l -d .
- name: Run golangci-lint
uses: reviewdog/action-golangci-lint@v2
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: { reporter: github-pr-review }