Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,20 @@ jobs:
scc --format html-table . | tee -a $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY

- name: lint
run: |
echo "## Lint" >> $GITHUB_STEP_SUMMARY

# Pinned, as the coverage tool is: this module builds with the Go
# of its go.mod (1.26, GOTOOLCHAIN=local), and a golangci-lint
# whose go directive is newer does not install. v2.15.0 declares
# go 1.26.0. Raise it with the go directive. The linters it runs
# are .golangci.yaml's.
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.15.0

golangci-lint run ./... | tee -a $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY

- name: test
run: |
echo "### Test report" >> $GITHUB_STEP_SUMMARY
Expand Down
1 change: 1 addition & 0 deletions DEVELOPMENT_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Follows these guidelines precisely to ensure consistency and maintainability of
- Language: Go (Go 1.22+)
- Framework: Go standard library
- Testing: Go's built-in testing package
- Lint: golangci-lint, with the linters `.golangci.yaml` enables, in the pull request workflow
- Dependency Management: Go modules
- Version Control: Git
- Documentation: go doc
Expand Down
Loading