Skip to content

First cut at refactoring DefaultClientOptionsBuilder #4258

First cut at refactoring DefaultClientOptionsBuilder

First cut at refactoring DefaultClientOptionsBuilder #4258

Workflow file for this run

name: cli-ci
on:
pull_request:
paths:
- "cli/**"
- ".github/workflows/cli-ci.yml"
- "go.mod"
branches: [main]
permissions:
contents: read
pull-requests: write
jobs:
azd-lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/setup-go@v3
with:
go-version: "^1.21.0"
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.1
args: -v --timeout 10m0s
working-directory: cli/azd
cspell-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm install -g cspell
- name: Spell check for CLI source code
run: cspell lint '**/*.go' --config ./cli/azd/.vscode/cspell.yaml --root ./cli/azd --no-progress
bicep-lint:
uses: ./.github/workflows/lint-bicep.yml