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

feat: Replace job to extract Terraform version with shell command step #81

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

staticaland
Copy link
Contributor

@staticaland staticaland commented Jul 25, 2024

Description

  • Replaces separate action and job with inline version extraction
  • Uses grep and sed to parse version from .tf files
  • Sets extracted version as output for use in setup-terraform step

Motivation and Context

Job costs 1 run minute. It's inefficient.

- Replaces separate action and job with inline version extraction
- Uses grep and sed to parse version from versions.tf files
- Sets extracted version as output for use in setup-terraform step
@staticaland staticaland requested a review from a team as a code owner July 25, 2024 08:39
Copy link

@yngvark yngvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing!

@staticaland staticaland changed the title feat: Add step to extract Terraform version from .tf files feat: Replace job to extract Terraform version with shell command step Jul 25, 2024
@staticaland staticaland merged commit cf27706 into main Jul 25, 2024
1 check passed
@staticaland staticaland deleted the tf-version branch July 25, 2024 09:02
@github-actions github-actions bot mentioned this pull request Jul 25, 2024
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