Skip to content

allows controller to be configured via environment variable #38

allows controller to be configured via environment variable

allows controller to be configured via environment variable #38

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
lint:
name: Run Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: sigs.k8s.io/node-ipam-controller
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: sigs.k8s.io/node-ipam-controller/go.mod
- name: Test
working-directory: sigs.k8s.io/node-ipam-controller
run: make test