Skip to content

Fix: Ingress references wrong service under certain conditions #426

Fix: Ingress references wrong service under certain conditions

Fix: Ingress references wrong service under certain conditions #426

Workflow file for this run

---
name: Go
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Format
run: |
OUT="$(gofmt -d -e -s . 2>&1)"
if [ "$OUT" != "" ]; then
echo "$OUT"
exit 1
fi
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
run: go build -v ./...
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: go test -v -race ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v4