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 CI with Linting and Testing #142

Merged
merged 6 commits into from
Feb 3, 2024
Merged

Commits on Feb 3, 2024

  1. Refactor codebase for improved functionality, error handling, and dat…

    …a manipulation
    
    Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
    rodneyosodo committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    6db2c7f View commit details
    Browse the repository at this point in the history
  2. Add Dependabot configuration file

    - Added a new file `.github/dependbot.yml` to the codebase.
    - The file includes configuration for Dependabot.
    - Added settings for two package ecosystems: `github-actions` and `gomod`.
    - Both ecosystems are set to be checked on a weekly basis.
    
    Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
    rodneyosodo committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    30fcc6e View commit details
    Browse the repository at this point in the history
  3. Add CI pipeline configuration for continuous integration

    A new file named "ci.yml" has been added to the GitHub repository. This file contains a CI pipeline configuration that enables continuous integration. The pipeline is triggered by pull requests and pushes to the main branch. It runs on an Ubuntu environment and includes several steps such as checking out code, setting up Go, running golangci-lint, and building binaries for different operating systems and architectures. Additionally, the configuration includes build commands for different operating systems and architectures, followed by a test command for running tests with coverage analysis.
    
    Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
    rodneyosodo committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    ac9c88c View commit details
    Browse the repository at this point in the history
  4. Refactor CI workflow to remove unnecessary build steps for darwin/arm…

    … platforms
    
    Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
    rodneyosodo committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    5123890 View commit details
    Browse the repository at this point in the history
  5. Rename .github/dependbot.yml to .github/dependabot.yml.

    Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
    rodneyosodo committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    73d72f0 View commit details
    Browse the repository at this point in the history
  6. Refactor linter settings in .golangci.yml

    Removed the errcheck and stylecheck linters from the list of enabled linters in .golangci.yml.
    
    Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
    rodneyosodo committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    c455c20 View commit details
    Browse the repository at this point in the history