Skip to content

Upgrade: Bump actions/setup-go from 5.0.2 to 5.1.0#191

Merged
santoshkal merged 1 commit intopre-mainfrom
dependabot/github_actions/pre-main/actions/setup-go-5.1.0
Oct 24, 2024
Merged

Upgrade: Bump actions/setup-go from 5.0.2 to 5.1.0#191
santoshkal merged 1 commit intopre-mainfrom
dependabot/github_actions/pre-main/actions/setup-go-5.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Oct 24, 2024

Bumps actions/setup-go from 5.0.2 to 5.1.0.

Release notes

Sourced from actions/setup-go's releases.

v5.1.0

What's Changed

Bug Fixes

New Contributors

Full Changelog: actions/setup-go@v5...v5.1.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@0a12ed9...41dfa10)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 24, 2024
@dryrunsecurity
Copy link
Copy Markdown

DryRun Security Summary

The pull request focuses on improving the security and quality of the codebase by incorporating various static analysis and vulnerability scanning tools, updating the Go version, and integrating Cosign and Syft for container image signing and Software Bill of Materials (SBOM) generation.

Expand for full summary

Summary:

The changes in this pull request focus on improving the security and quality of the codebase by incorporating various static analysis and vulnerability scanning tools into the CI/CD pipeline. The key changes include updating the Go version used in the workflows, integrating Cosign and Syft for container image signing and Software Bill of Materials (SBOM) generation, and using up-to-date versions of the GitHub Actions used in the workflows.

These changes are positive from an application security perspective, as they help catch potential issues early in the development lifecycle, ensure the integrity and transparency of the released artifacts, and keep the project's dependencies up-to-date with the latest security fixes. The use of Cosign and Syft, in particular, is a notable security enhancement, as it helps mitigate risks related to supply chain attacks.

Overall, the changes in this pull request demonstrate a strong focus on improving the security and quality of the codebase, which is a crucial aspect of developing and maintaining a secure application.

Files Changed:

  1. .github/workflows/ci.yaml:

    • The version of the actions/setup-go action has been updated from v5 to v5.1.0.
    • The workflow includes steps for running the Trivy vulnerability scanner, the GolangCI-Lint tool, and the Dominikh Staticcheck tool, which help identify potential security vulnerabilities and maintain code quality.
    • The Go version used in the workflow has been updated from an unspecified version to Go 1.22, which is important for security as newer versions often include bug fixes and security patches.
  2. .github/workflows/release.yaml:

    • The Go version used for the build has been updated from 1.18 to 1.22, which is a minor version update and a good practice to keep dependencies up-to-date.
    • The workflow integrates the use of Cosign and Syft, which are tools for signing and verifying container images, and generating Software Bill of Materials (SBOM), respectively. This is a positive security practice that helps ensure the integrity and transparency of the released artifacts.
    • The workflow uses the GoReleaser tool to handle the release process, which is a common practice for automating Go project releases.

Code Analysis

We ran 9 analyzers against 2 files and 0 analyzers had findings. 9 analyzers had no findings.

Riskiness

🟢 Risk threshold not exceeded.

View PR in the DryRun Dashboard.

@santoshkal santoshkal merged commit 34daa92 into pre-main Oct 24, 2024
@dependabot dependabot Bot deleted the dependabot/github_actions/pre-main/actions/setup-go-5.1.0 branch October 24, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant