Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/go:1": {
"version": "1.24"
"version": "1.25"
},
"ghcr.io/devcontainers/features/docker-in-docker:2.11.0": {
"version": "latest",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/light/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/go:1": {
"version": "1.24"
"version": "1.25"
},
"ghcr.io/devcontainers/features/docker-in-docker:2.11.0": {
"version": "latest",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cli-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: "^1.24"
go-version: "^1.25"
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
uses: golangci/golangci-lint-action@v8
with:
version: v2.0
version: v2.4
args: -v --timeout 10m0s
working-directory: cli/azd

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "^1.24"
go-version: "^1.25"

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.0.0
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.4.0

- name: Install cspell
run: npm install -g cspell@8.13.1
Expand Down
2 changes: 1 addition & 1 deletion cli/azd/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In general, to make contributions a smooth and easy experience, we encourage the

Prerequisites:

- [Go](https://go.dev/dl/) 1.24
- [Go](https://go.dev/dl/) 1.25

Build:

Expand Down
2 changes: 1 addition & 1 deletion cli/azd/ci-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Write-Host "Running unit tests..."
# --test.gocoverdir is currently a "under-the-cover" way to pass the coverage directory to a test binary
# See https://github.com/golang/go/issues/51430#issuecomment-1344711300
#
# This may be improved in go1.21 with an official 'go test' flag.
# As of Go 1.25, it’s still an “under-the-hood” option.
& $gotestsum -- ./... -short -v -cover -args --test.gocoverdir="$($unitCoverDir.FullName)"
if ($LASTEXITCODE) {
exit $LASTEXITCODE
Expand Down
14 changes: 7 additions & 7 deletions eng/pipelines/templates/stages/code-coverage-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ stages:
go tool covdata textfmt -i=cover -o cover.out
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

go install github.com/axw/gocov/gocov@latest
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
go install github.com/AlekSi/gocov-xml@latest
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

~/go/bin/gocov convert cover.out | ~/go/bin/gocov-xml > coverage.xml
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
# Convert Go coverage to Cobertura XML format using custom script
Write-Host "Converting coverage to Cobertura XML format..."
pwsh -File "$(Build.SourcesDirectory)/eng/scripts/Convert-GoCoverageToCobertura.ps1" -CoverageFile cover.out -OutputFile coverage.xml -SourceRoot "$(Build.SourcesDirectory)"
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to convert coverage to XML"
exit $LASTEXITCODE
}
displayName: Merge code coverage files

- task: PublishCodeCoverageResults@1
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/setup-go.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parameters:
GoVersion: 1.24.0
GoVersion: 1.25.0
Condition: succeeded()

steps:
Expand Down
Loading
Loading