Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Github Actions for g2-sdk-go #125

Closed
6 tasks
docktermj opened this issue Feb 14, 2024 · 0 comments
Closed
6 tasks

Create Github Actions for g2-sdk-go #125

docktermj opened this issue Feb 14, 2024 · 0 comments
Assignees
Labels
go Pull requests that update Go code V4 To be delivered in V4

Comments

@docktermj
Copy link
Contributor

docktermj commented Feb 14, 2024

Create GitHub actions that do:

  • Code coverage: go tool cover
  • Code format checking: gofmt
  • Security checking: gosec
  • Static analysis: go vet
  • Syntax checking: gofmt
  • Unit testing: go test

References

Initial work will happen in the template-go repository

————————————————————————————————————————
Update 5/16/24

Code coverage reporting added to Makefile for local testing though not required.

Linters are run via golangci-lint, you can find the enabled list in .github/linters/golangci.yml.
Local Installation instructions: https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/golangci-lint.md
Full linter list: https://golangci-lint.run/usage/linters/
Full list of enabled linters:
- asasalint
- asciicheck
- bidichk
- bodyclose
- contextcheck
- durationcheck
- errcheck
- errchkjson
- errorlint
- exhaustive
- exportloopref
- gocheckcompilerdirectives
- gochecksumtype
- gocritic
- gofmt
- gosec
- gosimple
- gosmopolitan
- govet
- ineffassign
- loggercheck
- makezero
- musttag
- nilerr
- noctx
- protogetter
- reassign
- revive
- rowserrcheck
- spancheck
- sqlclosecheck
- staticcheck
- testifylint
- unused
- zerologlint

@github-actions github-actions bot added the triage Need to triage label Feb 14, 2024
@docktermj docktermj removed the triage Need to triage label Feb 14, 2024
@docktermj docktermj added the V4 To be delivered in V4 label Feb 14, 2024
@docktermj docktermj added the go Pull requests that update Go code label Feb 15, 2024
@docktermj docktermj changed the title Create Github Actions Create Github Actions for g2-sdk-go Feb 15, 2024
kernelsam added a commit to senzing-garage/knowledge-base that referenced this issue May 16, 2024
kernelsam added a commit to senzing-garage/knowledge-base that referenced this issue May 16, 2024
kernelsam added a commit to senzing-factory/build-resources that referenced this issue May 16, 2024
kernelsam added a commit to senzing-factory/build-resources that referenced this issue May 16, 2024
docktermj added a commit that referenced this issue May 17, 2024
docktermj added a commit that referenced this issue May 17, 2024
docktermj added a commit that referenced this issue May 17, 2024
docktermj added a commit that referenced this issue May 17, 2024
docktermj added a commit that referenced this issue May 17, 2024
docktermj added a commit that referenced this issue May 17, 2024
* get linting report

* update permissions

* run golangci-list

* bump to v6 linter

* r/w

* validate go modules

* update

* update config

* force error

* debug

* update path

* only run full testing on pr, update path

* enable all linters

* check all bugs

* test

* test coverage

* test

* test

* test

* update config

* cleanup

* switch to main

* test coverage job

* test coverage job

* test shared coverage

* Empty-Commit

* update coverage

* add jscpd config

* debug windows

* debug windows

* debug windows

* debug windows

* test

* test

* test

* test

* cleanup

* #125 Go improvements for the new tests

* #125 Go improvements for the new tests - 2

* #125 Go improvements for the new tests - 32

* #125 Go improvements for the new tests - 4

* #125 Savepoint

* #125 Savepoint

* #125 Clean local testing

* #125 Prepare for versioned release

* #125 Prepare for versioned release

---------

Co-authored-by: docktermj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code V4 To be delivered in V4
Projects
None yet
Development

No branches or pull requests

2 participants