Skip to content

Commit dfb6c26

Browse files
authored
fix(ci): Use version tags for actions
1 parent 52b4d01 commit dfb6c26

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
action:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
20+
- uses: dessant/lock-threads@v5

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ jobs:
1212
goreleaser:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
15+
- uses: actions/checkout@v6
1616
with:
1717
# Allow goreleaser to access older tag information.
1818
fetch-depth: 0
19-
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
19+
- uses: actions/setup-go@v6
2020
with:
2121
go-version-file: 'go.mod'
2222
cache: true
2323
- name: Import GPG key
24-
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
24+
uses: crazy-max/ghaction-import-gpg@v6
2525
id: import_gpg
2626
with:
2727
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
2828
passphrase: ${{ secrets.PASSPHRASE }}
2929
- name: Run GoReleaser
30-
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
30+
uses: goreleaser/goreleaser-action@v6
3131
with:
3232
args: release --clean
3333
env:

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 5
1919
steps:
20-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
21-
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
20+
- uses: actions/checkout@v6
21+
- uses: actions/setup-go@v6
2222
with:
2323
go-version-file: 'go.mod'
2424
cache: true
2525
- run: go mod download
2626
- run: go build -v .
2727
- name: Run linters
28-
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
28+
uses: golangci/golangci-lint-action@v9
2929
with:
3030
version: latest
3131

@@ -34,14 +34,14 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
37+
uses: actions/checkout@v6
3838
- name: Setup Go
39-
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
39+
uses: actions/setup-go@v6
4040
with:
4141
go-version-file: 'go.mod'
4242
cache: true
4343
- name: Setup Terraform
44-
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
44+
uses: hashicorp/setup-terraform@v3
4545
with:
4646
terraform_wrapper: false
4747
- name: Generate
@@ -87,14 +87,14 @@ jobs:
8787
--health-retries=5
8888
steps:
8989
- name: Checkout
90-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
90+
uses: actions/checkout@v6
9191
- name: Setup Go
92-
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
92+
uses: actions/setup-go@v6
9393
with:
9494
go-version-file: 'go.mod'
9595
cache: true
9696
- name: Setup Terraform
97-
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
97+
uses: hashicorp/setup-terraform@v3
9898
with:
9999
terraform_version: ${{ matrix.terraform }}
100100
terraform_wrapper: false

0 commit comments

Comments
 (0)