Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: ["main"]
pull_request:

permissions:
contents: read

jobs:
test-and-build:
runs-on: ubuntu-latest
Expand All @@ -14,11 +17,11 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.25.6"

- name: Verify formatting
run: |
unformatted="$(gofmt -l $(find . -name '*.go' -type f))"
unformatted="$(gofmt -l .)"
if [ -n "$unformatted" ]; then
echo "Unformatted files:"
echo "$unformatted"
Expand Down Expand Up @@ -47,7 +50,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.25.6"

- name: Build Linux CLI binary
run: |
Expand All @@ -68,7 +71,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.25.6"

- name: Build Windows CLI binary
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.25.6"

- name: Build artifacts
run: |
Expand Down
Loading