Skip to content

Add Append method to ResponseWriter #314

Add Append method to ResponseWriter

Add Append method to ResponseWriter #314

Workflow file for this run

name: Validate
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: stable
- name: go vet
run: go vet ./...
- name: staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
- name: nilness
run: |
go install golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness@master
nilness ./...
- name: ineffassign
run: |
go install github.com/gordonklaus/ineffassign@latest
ineffassign ./...
test:
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: stable
- name: go test
run: go test -race ./...