Skip to content
New issue

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

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

Already on GitHub? # to your account

Unify CI workflow #180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Unify CI workflow #180

wants to merge 1 commit into from

Conversation

lucacome
Copy link
Contributor

This pull request includes significant updates to the GitHub workflows and configuration files to streamline the CI/CD process. The most important changes include the consolidation of workflows, the addition of new steps for security and compliance, and updates to the README.md file.

Improvements to CI/CD workflows:

  • Consolidated the workflows by removing .github/workflows/build-and-push.yaml and .github/workflows/release.yaml and creating a new .github/workflows/ci.yaml file that handles both CI and CD tasks. This new workflow includes steps for building and pushing Docker images, setting up the Golang environment, and running GoReleaser. [1] [2] [3]

Enhancements to build and security processes:

  • Added steps in the new CI workflow to set up QEMU for cross-platform builds, inspect SBOM (Software Bill of Materials), and scan SBOM for vulnerabilities. These steps ensure that the built artifacts are secure and compliant with best practices.

Configuration updates:

  • Updated .goreleaser.yaml to include SBOM generation for the artifacts.
  • Added actionlint to the .pre-commit-config.yaml file to lint GitHub Actions workflows, ensuring that the workflows are syntactically correct and follow best practices.

Documentation improvements:

  • Updated README.md to include badges for CI status and Go Report Card, providing visual indicators of the project's build status and code quality.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant