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

Actualize dependencies, fix tests and solve bugs #699

Merged
merged 33 commits into from
Oct 7, 2024

Conversation

jocgir
Copy link

@jocgir jocgir commented Jul 9, 2024

This pull request includes several updates to GitHub Actions workflows, Go dependencies, and codebase improvements for better maintainability and performance. The most important changes are grouped into workflow updates, Go dependency updates, and codebase improvements.

Workflow Updates:

  • Updated CodeQL action versions from v2 to v3 in .github/workflows/codeql.yml for Initialize CodeQL, Autobuild, and Perform CodeQL Analysis steps. [1] [2] [3]
  • Introduced GoVersion environment variable and updated Go version to 1.23 in .github/workflows/pr.yml and .github/workflows/tag.yml. [1] [2] [3] [4] [5] [6] [7] [8]

Go Dependency Updates:

  • Changed goreleaser-action version to v6 and specified version ~> v2 in .github/workflows/pr.yml and .github/workflows/tag.yml. [1] [2] [3]
  • Updated staticcheck and stringer tools to their latest versions in Makefile.

Codebase Improvements:

  • Replaced deprecated ioutil package with os package in awshelper/s3.go, cli/download_source.go, and related test files. [1] [2] [3] [4] [5] [6] [7]
  • Fixed typos and updated Terraform version constraint in cli/cli_app.go. [1] [2] [3]
  • Removed fmtcheck target and simplified fmt target in Makefile.This pull request includes updates to dependencies, improvements to configuration files, and code refactoring to use newer APIs and correct typos. The most important changes include updating GitHub Actions dependencies, upgrading the Go version, and refactoring code to replace deprecated functions.

GitHub Actions Updates:

Code Refactoring:

Configuration File Improvements:

  • .goreleaser.yml: Added version: 2 to the build customization.
  • Makefile: Simplified fmt target and updated dependencies to use the latest versions. [1] [2]

Minor Fixes:

@jocgir jocgir requested a review from a team as a code owner July 9, 2024 19:33
@jonapich jonapich self-requested a review July 10, 2024 12:24
@jocgir jocgir force-pushed the DT-7003-Build-new-terragrunt-version branch from c5b10fc to ab901fb Compare July 10, 2024 14:47
@jocgir jocgir marked this pull request as draft July 10, 2024 17:38
This allows reading terraform files containing new syntax introduced after Terraform 0.15.3.

While promoting Terraform to official version v1, v2, ... Hashicorp moved some packages under internal making them non accessible as a library from outer program like terragrunt.
…ersion' into DT-7003-Build-new-terragrunt-version
@jocgir jocgir closed this Oct 3, 2024
@jocgir jocgir reopened this Oct 3, 2024
@jocgir jocgir closed this Oct 3, 2024
@jocgir jocgir reopened this Oct 3, 2024
@jocgir jocgir changed the title Just update the hardcoded version to start a pull request. Actualize dependencies, fix tests and solve bugs Oct 3, 2024
@jocgir jocgir force-pushed the DT-7003-Build-new-terragrunt-version branch 3 times, most recently from fe8e815 to 8ff22fa Compare October 5, 2024 14:35
@jocgir jocgir marked this pull request as ready for review October 5, 2024 15:36
@jocgir jocgir force-pushed the DT-7003-Build-new-terragrunt-version branch from 8ff22fa to 9a4f5b3 Compare October 5, 2024 16:03
@jocgir jocgir force-pushed the DT-7003-Build-new-terragrunt-version branch from 9a4f5b3 to 7a35e42 Compare October 5, 2024 16:22
@jocgir jocgir force-pushed the DT-7003-Build-new-terragrunt-version branch from 7a35e42 to a3266c7 Compare October 5, 2024 16:26
@jocgir jocgir enabled auto-merge (squash) October 5, 2024 17:58
@jocgir jocgir merged commit 24ebc7b into master Oct 7, 2024
11 checks passed
@jocgir jocgir deleted the DT-7003-Build-new-terragrunt-version branch October 7, 2024 11: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