Skip to content

fix(mcp): normalize env names before secret-pattern matching #653

fix(mcp): normalize env names before secret-pattern matching

fix(mcp): normalize env names before secret-pattern matching #653

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
# Minimum supported build toolchain is Go 1.25.12 (go.mod floor);
# "1.25" resolves to the latest 1.25.x patch release.
go-version: "1.25"
- name: build
run: go build -o /tmp/odek-test github.com/BackendStack21/odek/cmd/odek && chmod +x /tmp/odek-test
- name: test
run: ODEK_BINARY=/tmp/odek-test go test ./... -short -race -coverprofile=coverage.out -covermode=atomic -count=1
- name: coverage
run: go tool cover -func=coverage.out
- name: vet
run: go vet ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.12.2
args: --timeout=10m
vuln:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
# Latest stable toolchain: stdlib advisories are assessed against
# the newest patch release, and module advisories (e.g. x/net) are
# toolchain-independent. The go.mod floor (go 1.25.12) pins the
# minimum toolchain for downstream builders.
go-version: "stable"
- name: govulncheck
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./...