Skip to content

test: set request host to localhost in various test files #115

test: set request host to localhost in various test files

test: set request host to localhost in various test files #115

Workflow file for this run

name: "Test swaggo"
on:
push:
branches:
- master
- main
paths:
- 'v3/swaggo/**/*.go'
- 'v3/swaggo/go.mod'
- 'v3/swaggo/go.sum'
pull_request:
paths:
- 'v3/swaggo/**/*.go'
- 'v3/swaggo/go.mod'
- 'v3/swaggo/go.sum'
workflow_dispatch:
jobs:
Tests:
runs-on: ubuntu-latest
env:
GOWORK: off
strategy:
matrix:
go-version:
- 1.25.x
steps:
- name: Fetch Repository
uses: actions/checkout@v6
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
working-directory: ./v3/swaggo
run: go test -v -race ./...