Skip to content

Add support for proxy protocol in martian #2093

Add support for proxy protocol in martian

Add support for proxy protocol in martian #2093

Workflow file for this run

---
name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set version env variables
run: |
cat .version >> $GITHUB_ENV
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: "${{env.GOLANGCI_LINT_VERSION}}"
ubuntu-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set version env variables
run: |
cat .version >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "${{env.GO_VERSION}}"
- name: Run martian unit test
run: make -C internal/martian test
- name: Run dnshack test
run: make -C utils/dnshack test
- name: Run unit test
run: make test coverage
windows-test:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "stable" #TODO: load from dotenv file see #465
- name: Run martian unit test
run: make -C internal/martian test