Skip to content

utils/cobrautil: add functional options to BindAll() to allow Viper c… #1955

utils/cobrautil: add functional options to BindAll() to allow Viper c…

utils/cobrautil: add functional options to BindAll() to allow Viper c… #1955

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@v3
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 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