Skip to content

Commit

Permalink
chore: bump gh action versions
Browse files Browse the repository at this point in the history
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `2.4.0` | `4.0.0` |
| [actions/cache](https://github.com/actions/cache) | `2` | `3` |
| [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `1.6.1` | `4.0.0` |
| [actions/setup-python](https://github.com/actions/setup-python) | `3` | `4` |
| [mfinelli/setup-shfmt](https://github.com/mfinelli/setup-shfmt) | `1` | `2` |
| [dorny/paths-filter](https://github.com/dorny/paths-filter) | `2.10.2` | `2.11.1` |
| [terraform-linters/setup-tflint](https://github.com/terraform-linters/setup-tflint) | `2` | `3` |
  • Loading branch information
vincenthsh committed Sep 13, 2023
1 parent 64f94a3 commit 72c68e0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions templates/templates/.github/workflows/fogg_ci.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# required to push fixes back to repo
contents: write{{ end }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
with:
repository: {{`${{ github.event.pull_request.head.repo.full_name }}`}}
ref: {{`${{ github.event.pull_request.head.ref }}`}}
Expand All @@ -30,15 +30,15 @@ jobs:
- run: make setup
{{- if not (eq (len $githubActionsCI.DefaultAWSIAMRoleName) 0) }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4.0.0
with:
role-to-assume: {{ $githubActionsCI.DefaultAWSIAMRoleName }}
aws-region: {{ $githubActionsCI.DefaultAWSRegion }}{{ end }}
- run: .fogg/bin/fogg apply
env:
FOGG_GITHUBTOKEN: {{`${{ secrets.GITHUB_TOKEN }}`}}
- uses: actions/setup-python@v3
- uses: mfinelli/setup-shfmt@v1
- uses: actions/setup-python@v4
- uses: mfinelli/setup-shfmt@v2
with:
shfmt-version: 3.5.1
- uses: rhythmictech/[email protected]
Expand All @@ -56,11 +56,11 @@ jobs:
outputs:
allChanges: {{`${{ steps.changedDirs.outputs.allChanges }}`}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
with:
repository: {{`${{ github.event.pull_request.head.repo.full_name }}`}}
ref: {{`${{ github.event.pull_request.head.ref }}`}}
- uses: dorny/paths-filter@v2.10.2
- uses: dorny/paths-filter@v2.11.1
id: filter
with:
initial-fetch-depth: '1'
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
tfmodule: {{`${{ fromJson(needs.find-changed-dirs.outputs.allChanges) }}`}}
if: {{`${{ needs.find-changed-dirs.outputs.allChanges != '[]' }}`}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
with:
token: {{`${{ secrets.GITHUB_TOKEN }}`}}
repository: {{`${{ github.event.pull_request.head.repo.full_name }}`}}
Expand All @@ -118,12 +118,12 @@ jobs:
add: -A
message: |
commit from fogg_ci -- ran terraform fmt and pushed
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: tflint-{{`${{ hashFiles('.tflint.hcl') }}`}}
- uses: terraform-linters/setup-tflint@v2
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
with:
tflint_version: v0.47.0
Expand Down

0 comments on commit 72c68e0

Please sign in to comment.