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

Add Github Actions workflow as CI #1

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Add Github Actions workflow as CI #1

merged 3 commits into from
Apr 26, 2024

Conversation

koenbollen
Copy link
Collaborator

Adding CI to this project using Github Actions.

It will run:

  • unit tests, go test in the root directory
  • fuzz tests, go test in the fuzz/ directory
  • integration tests, go test in the integration/ directory
  • golangci-lint run ./... in all modules
  • go vet ./... in all modules

We need to run these commands in all Go module directories because the expansion pattern ./... in the root module will not expand to the Go files in the sub Go modules (fuzz and integration).

@koenbollen koenbollen force-pushed the setup-github-actions branch from e882cc1 to dad7727 Compare April 26, 2024 11:44
- Also fixed a go vet issue
- Set the project to use Go version 1.22.2
@koenbollen koenbollen force-pushed the setup-github-actions branch from dad7727 to 5921bb5 Compare April 26, 2024 11:48
@koenbollen koenbollen marked this pull request as ready for review April 26, 2024 12:09
@koenbollen koenbollen merged commit debe1f2 into main Apr 26, 2024
5 checks passed
@koenbollen koenbollen deleted the setup-github-actions branch April 26, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants