Skip to content

Merge pull request #6 from entireio/nodo/pi #26

Merge pull request #6 from entireio/nodo/pi

Merge pull request #6 from entireio/nodo/pi #26

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@v6
with:
go-version: "stable"
- name: Check formatting
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "The following files are not formatted:"
echo "$unformatted"
exit 1
fi
- name: Run golangci-lint (agent-kiro)
uses: golangci/golangci-lint-action@v9
with:
version: "v2.11.3"
working-directory: agents/entire-agent-kiro
- name: Run golangci-lint (e2e)
uses: golangci/golangci-lint-action@v9
with:
version: "v2.11.3"
working-directory: e2e