Skip to content

Commit aa8be7f

Browse files
committed
chore: Pin more GitHub Actions
1 parent e62ca0d commit aa8be7f

2 files changed

Lines changed: 14 additions & 18 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
jobs:
99
verify:
1010
name: Verify
11-
permissions:
12-
contents: read
1311
runs-on: ubuntu-latest
1412
steps:
1513
- name: Checkout code

.github/workflows/pr.yaml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,19 @@ on:
66
jobs:
77
verify:
88
name: Verify
9-
permissions:
10-
contents: read
119
runs-on: ubuntu-latest
1210
steps:
13-
- name: Checkout code
14-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15-
- name: Setup Terraform
16-
uses: hashicorp/setup-terraform@v3
17-
with:
18-
terraform_version: "1.13"
19-
- name: Initialise with no backend
20-
run: terraform init -backend=false
21-
- name: Check formatting
22-
run: terraform fmt -check -recursive
23-
- name: Validate the configuration
24-
run: terraform validate
25-
- name: Run unit tests
26-
run: terraform test
11+
- name: Checkout code
12+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13+
- name: Setup Terraform
14+
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
15+
with:
16+
terraform_version: 1.14.7
17+
- name: Initialise with no backend
18+
run: terraform init -backend=false
19+
- name: Check formatting
20+
run: terraform fmt -check -recursive
21+
- name: Validate the configuration
22+
run: terraform validate
23+
- name: Run unit tests
24+
run: terraform test

0 commit comments

Comments
 (0)