-
-
Notifications
You must be signed in to change notification settings - Fork 231
fix: Update CI workflow versions to latest #79
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
Merged
antonbabenko
merged 5 commits into
terraform-aws-modules:master
from
bryantbiggs:chore/update-ci-workflow-versions
Oct 21, 2025
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
992ed15
fix: Update CI workflow versions to latest
bryantbiggs 06c3cf4
fix: Update CI workflow versions to latest
bryantbiggs 0e1bb82
fix: Update CI workflow versions to latest
bryantbiggs 57d6ee7
fix: Update CI workflow versions to latest
bryantbiggs b421e9d
fix: Move changelog back to project root
bryantbiggs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,8 +7,8 @@ on: | |
| - master | ||
|
|
||
| env: | ||
| TERRAFORM_DOCS_VERSION: v0.19.0 | ||
| TFLINT_VERSION: v0.53.0 | ||
| TERRAFORM_DOCS_VERSION: v0.20.0 | ||
| TFLINT_VERSION: v0.59.1 | ||
|
|
||
| jobs: | ||
| collectInputs: | ||
|
|
@@ -18,11 +18,11 @@ jobs: | |
| directories: ${{ steps.dirs.outputs.directories }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Get root directories | ||
| id: dirs | ||
| uses: clowdhaus/terraform-composite-actions/directories@v1.9.0 | ||
| uses: clowdhaus/terraform-composite-actions/directories@v1.14.0 | ||
|
|
||
| preCommitMinVersions: | ||
| name: Min TF pre-commit | ||
|
|
@@ -32,27 +32,49 @@ jobs: | |
| matrix: | ||
| directory: ${{ fromJson(needs.collectInputs.outputs.directories) }} | ||
| steps: | ||
| - name: Install rmz | ||
| uses: jaxxstorm/[email protected] | ||
| with: | ||
| repo: SUPERCILEX/fuc | ||
| asset-name: x86_64-unknown-linux-gnu-rmz | ||
| rename-to: rmz | ||
| chmod: 0755 | ||
| extension-matching: disable | ||
|
|
||
| # https://github.com/orgs/community/discussions/25678#discussioncomment-5242449 | ||
| - name: Delete huge unnecessary tools folder | ||
| - name: Delete unnecessary files | ||
| run: | | ||
| rm -rf /opt/hostedtoolcache/CodeQL | ||
| rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk | ||
| rm -rf /opt/hostedtoolcache/Ruby | ||
| rm -rf /opt/hostedtoolcache/go | ||
| formatByteCount() { echo $(numfmt --to=iec-i --suffix=B --padding=7 $1'000'); } | ||
| getAvailableSpace() { echo $(df -a $1 | awk 'NR > 1 {avail+=$4} END {print avail}'); } | ||
| BEFORE=$(getAvailableSpace) | ||
| ln -s /opt/hostedtoolcache/SUPERCILEX/x86_64-unknown-linux-gnu-rmz/latest/linux-x64/rmz /usr/local/bin/rmz | ||
| rmz -f /opt/hostedtoolcache/CodeQL & | ||
| rmz -f /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk & | ||
| rmz -f /opt/hostedtoolcache/PyPy & | ||
| rmz -f /opt/hostedtoolcache/Ruby & | ||
| rmz -f /opt/hostedtoolcache/go & | ||
| wait | ||
| AFTER=$(getAvailableSpace) | ||
| SAVED=$((AFTER-BEFORE)) | ||
| echo "=> Saved $(formatByteCount $SAVED)" | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Terraform min/max versions | ||
| id: minMax | ||
| uses: clowdhaus/terraform-min-max@v1.3.1 | ||
| uses: clowdhaus/terraform-min-max@v2.1.0 | ||
| with: | ||
| directory: ${{ matrix.directory }} | ||
|
|
||
| - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} | ||
| # Run only validate pre-commit check on min version supported | ||
| if: ${{ matrix.directory != '.' }} | ||
| uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 | ||
| uses: clowdhaus/terraform-composite-actions/pre-commit@v1.14.0 | ||
| with: | ||
| terraform-version: ${{ steps.minMax.outputs.minVersion }} | ||
| tflint-version: ${{ env.TFLINT_VERSION }} | ||
|
|
@@ -61,7 +83,7 @@ jobs: | |
| - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} | ||
| # Run only validate pre-commit check on min version supported | ||
| if: ${{ matrix.directory == '.' }} | ||
| uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 | ||
| uses: clowdhaus/terraform-composite-actions/pre-commit@v1.14.0 | ||
| with: | ||
| terraform-version: ${{ steps.minMax.outputs.minVersion }} | ||
| tflint-version: ${{ env.TFLINT_VERSION }} | ||
|
|
@@ -72,26 +94,73 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| needs: collectInputs | ||
| steps: | ||
| - name: Install rmz | ||
| uses: jaxxstorm/[email protected] | ||
| with: | ||
| repo: SUPERCILEX/fuc | ||
| asset-name: x86_64-unknown-linux-gnu-rmz | ||
| rename-to: rmz | ||
| chmod: 0755 | ||
| extension-matching: disable | ||
|
|
||
| # https://github.com/orgs/community/discussions/25678#discussioncomment-5242449 | ||
| - name: Delete huge unnecessary tools folder | ||
| - name: Delete unnecessary files | ||
| run: | | ||
| rm -rf /opt/hostedtoolcache/CodeQL | ||
| rm -rf /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk | ||
| rm -rf /opt/hostedtoolcache/Ruby | ||
| rm -rf /opt/hostedtoolcache/go | ||
| formatByteCount() { echo $(numfmt --to=iec-i --suffix=B --padding=7 $1'000'); } | ||
| getAvailableSpace() { echo $(df -a $1 | awk 'NR > 1 {avail+=$4} END {print avail}'); } | ||
| BEFORE=$(getAvailableSpace) | ||
| ln -s /opt/hostedtoolcache/SUPERCILEX/x86_64-unknown-linux-gnu-rmz/latest/linux-x64/rmz /usr/local/bin/rmz | ||
| rmz -f /opt/hostedtoolcache/CodeQL & | ||
| rmz -f /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk & | ||
| rmz -f /opt/hostedtoolcache/PyPy & | ||
| rmz -f /opt/hostedtoolcache/Ruby & | ||
| rmz -f /opt/hostedtoolcache/go & | ||
| sudo rmz -f /usr/local/lib/android & | ||
| if [[ ${{ github.repository }} == terraform-aws-modules/terraform-aws-security-group ]]; then | ||
| sudo rmz -f /usr/share/dotnet & | ||
| sudo rmz -f /usr/local/.ghcup & | ||
| sudo apt-get -qq remove -y 'azure-.*' | ||
| sudo apt-get -qq remove -y 'cpp-.*' | ||
| sudo apt-get -qq remove -y 'dotnet-runtime-.*' | ||
| sudo apt-get -qq remove -y 'google-.*' | ||
| sudo apt-get -qq remove -y 'libclang-.*' | ||
| sudo apt-get -qq remove -y 'libllvm.*' | ||
| sudo apt-get -qq remove -y 'llvm-.*' | ||
| sudo apt-get -qq remove -y 'mysql-.*' | ||
| sudo apt-get -qq remove -y 'postgresql-.*' | ||
| sudo apt-get -qq remove -y 'php.*' | ||
| sudo apt-get -qq remove -y 'temurin-.*' | ||
| sudo apt-get -qq remove -y kubectl firefox mono-devel | ||
| sudo apt-get -qq autoremove -y | ||
| sudo apt-get -qq clean | ||
| fi | ||
| wait | ||
| AFTER=$(getAvailableSpace) | ||
| SAVED=$((AFTER-BEFORE)) | ||
| echo "=> Saved $(formatByteCount $SAVED)" | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.ref }} | ||
| repository: ${{github.event.pull_request.head.repo.full_name}} | ||
|
|
||
| - name: Terraform min/max versions | ||
| id: minMax | ||
| uses: clowdhaus/[email protected] | ||
| uses: clowdhaus/[email protected] | ||
|
|
||
| - name: Hide template dir | ||
| # Special to this repo, we don't want to check this dir | ||
| if: ${{ github.repository == 'terraform-aws-modules/terraform-aws-security-group' }} | ||
| run: rm -rf modules/_templates | ||
|
|
||
| - name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }} | ||
| uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 | ||
| uses: clowdhaus/terraform-composite-actions/pre-commit@v1.14.0 | ||
| with: | ||
| terraform-version: ${{ steps.minMax.outputs.maxVersion }} | ||
| tflint-version: ${{ env.TFLINT_VERSION }} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,18 +20,26 @@ jobs: | |
| if: github.repository_owner == 'terraform-aws-modules' | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Set correct Node.js version | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| npm install \ | ||
| @semantic-release/[email protected] \ | ||
| @semantic-release/[email protected] \ | ||
| [email protected] | ||
| - name: Release | ||
| uses: cycjimmy/semantic-release-action@v4 | ||
| uses: cycjimmy/semantic-release-action@v5 | ||
| with: | ||
| semantic_version: 23.0.2 | ||
| extra_plugins: | | ||
| @semantic-release/[email protected] | ||
| @semantic-release/[email protected] | ||
| [email protected] | ||
| semantic_version: 25.0.0 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.