Skip to content

Commit 59934df

Browse files
committed
Update all runner definitions to ubuntu-latest
1 parent efc0677 commit 59934df

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44

55
jobs:
66
lint-validate:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
1010
- uses: hashicorp/setup-terraform@v3
@@ -23,7 +23,7 @@ jobs:
2323
- name: Lint Terraform files
2424
run: tflint
2525
terratest:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-latest
2727
defaults:
2828
run:
2929
working-directory: tests

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: moritzheiber/terraform-aws-oidc-github-actions-module/.github/workflows/test.yaml@main
1515
create-release:
1616
needs: [test]
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Release

.github/workflows/test.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44

55
jobs:
66
lint-validate:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
1010
- uses: hashicorp/setup-terraform@v3
@@ -21,10 +21,14 @@ jobs:
2121
- name: Lint Terraform files
2222
run: tflint
2323
terratest:
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-latest
2525
strategy:
2626
matrix:
27-
test: [TestGitHubActionsOidcModuleGoodInput, TestGitHubActionsOidcModuleBadInput]
27+
test:
28+
[
29+
TestGitHubActionsOidcModuleGoodInput,
30+
TestGitHubActionsOidcModuleBadInput,
31+
]
2832
defaults:
2933
run:
3034
working-directory: tests

0 commit comments

Comments
 (0)