Skip to content

Commit 418f4fb

Browse files
committed
bump CI files
1 parent 5569cee commit 418f4fb

File tree

4 files changed

+31
-33
lines changed

4 files changed

+31
-33
lines changed

.github/workflows/issue-comment-triage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
COMMAND: ${{ github.event.issue.pull_request && 'pr' || 'issue' }}
1818
GH_TOKEN: ${{ github.token }}
1919
steps:
20-
- name: 'Remove waiting-response on comment'
20+
- name: "Remove waiting-response on comment"
2121
run: gh ${{ env.COMMAND }} edit ${{ github.event.issue.html_url }} --remove-label waiting-response

.github/workflows/lock.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# DO NOT EDIT - This GitHub Workflow is managed by automation
22
# https://github.com/hashicorp/terraform-devex-repos
3-
name: 'Lock Threads'
3+
name: "Lock Threads"
44

55
on:
66
schedule:
7-
- cron: '43 20 * * *'
7+
- cron: "43 20 * * *"
88

99
jobs:
1010
lock:
@@ -15,7 +15,7 @@ jobs:
1515
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
1616
with:
1717
github-token: ${{ github.token }}
18-
issue-inactive-days: '30'
18+
issue-inactive-days: "30"
1919
issue-lock-reason: resolved
20-
pr-inactive-days: '30'
20+
pr-inactive-days: "30"
2121
pr-lock-reason: resolved

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Release
66
on:
77
push:
88
tags:
9-
- 'v*'
9+
- "v*"
1010

1111
# Releases need permissions to read and write the repository contents.
1212
# GitHub considers creating releases and uploading assets as writing contents.
@@ -17,22 +17,22 @@ jobs:
1717
goreleaser:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
# Allow goreleaser to access older tag information.
2323
fetch-depth: 0
24-
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
24+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2525
with:
26-
go-version-file: 'go.mod'
26+
go-version-file: "go.mod"
2727
cache: true
2828
- name: Import GPG key
29-
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
29+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
3030
id: import_gpg
3131
with:
3232
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3333
passphrase: ${{ secrets.PASSPHRASE }}
3434
- name: Run GoReleaser
35-
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
35+
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
3636
with:
3737
args: release --clean
3838
env:

.github/workflows/test.yml

+20-22
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ name: Tests
66
on:
77
pull_request:
88
paths-ignore:
9-
- 'README.md'
9+
- "README.md"
1010
push:
1111
paths-ignore:
12-
- 'README.md'
12+
- "README.md"
1313

1414
# Testing only needs permissions to read the repository contents.
1515
permissions:
@@ -22,37 +22,35 @@ jobs:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 5
2424
steps:
25-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
26-
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2727
with:
28-
go-version-file: 'go.mod'
28+
go-version-file: "go.mod"
2929
cache: true
3030
- run: go mod download
3131
- run: go build -v .
3232
- name: Run linters
33-
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
33+
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
3434
with:
3535
version: latest
3636

3737
generate:
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
41-
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
40+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
4242
with:
43-
go-version-file: 'go.mod'
43+
go-version-file: "go.mod"
4444
cache: true
45-
# Temporarily download Terraform 1.8 prerelease for function documentation support.
46-
# When Terraform 1.8.0 final is released, this can be removed.
45+
# We need the latest version of Terraform for our documentation generation to use
4746
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
4847
with:
49-
terraform_version: '1.8.0-alpha20240216'
5048
terraform_wrapper: false
51-
- run: go generate ./...
49+
- run: make generate
5250
- name: git diff
5351
run: |
5452
git diff --compact-summary --exit-code || \
55-
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)
53+
(echo; echo "Unexpected difference in directories after code generation. Run 'make generate' command and commit."; exit 1)
5654
5755
# Run acceptance tests in a matrix with Terraform CLI versions
5856
# test:
@@ -65,16 +63,16 @@ jobs:
6563
# matrix:
6664
# # list whatever Terraform versions here you would like to support
6765
# terraform:
68-
# - '1.0.*'
69-
# - '1.1.*'
70-
# - '1.2.*'
71-
# - '1.3.*'
72-
# - '1.4.*'
66+
# - "1.0.*"
67+
# - "1.1.*"
68+
# - "1.2.*"
69+
# - "1.3.*"
70+
# - "1.4.*"
7371
# steps:
74-
# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
75-
# - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
72+
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
# - uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
7674
# with:
77-
# go-version-file: 'go.mod'
75+
# go-version-file: "go.mod"
7876
# cache: true
7977
# - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
8078
# with:

0 commit comments

Comments
 (0)