Skip to content

Commit 08b96be

Browse files
authored
chore(ci): include minor and patch versions in workflows (#528)
1 parent 8e492ec commit 08b96be

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: clone
20-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
20+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2121

2222
- name: install go
23-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
23+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2424
with:
2525
# use version from go.mod file
2626
go-version-file: 'go.mod'

.github/workflows/codeql-analysis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
38+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3939

4040
- name: install go
41-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
41+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
4242
with:
4343
# use version from go.mod file
4444
go-version-file: 'go.mod'
@@ -47,7 +47,7 @@ jobs:
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3
50+
uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,7 +58,7 @@ jobs:
5858
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5959
# If this step fails, then you should remove it and run the build manually (see below)
6060
- name: Autobuild
61-
uses: github/codeql-action/autobuild@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3
61+
uses: github/codeql-action/autobuild@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
6262

6363
# ℹ️ Command-line programs to run using the OS shell.
6464
# 📚 https://git.io/JvXDl
@@ -72,4 +72,4 @@ jobs:
7272
# make release
7373

7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3
75+
uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0

.github/workflows/prerelease.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
steps:
2222
- name: clone
23-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
23+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2424
with:
2525
# ensures we fetch tag history for the repository
2626
fetch-depth: 0
2727

2828
- name: install go
29-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
29+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3030
with:
3131
# use version from go.mod file
3232
go-version-file: 'go.mod'

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1717
with:
1818
# ensures we fetch tag history for the repository
1919
fetch-depth: 0
2020

2121
- name: install go
22-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
22+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2323
with:
2424
# use version from go.mod file
2525
go-version-file: 'go.mod'

.github/workflows/reviewdog.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212

1313
steps:
1414
- name: clone
15-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
15+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1616

1717
- name: install go
18-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
18+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
1919
with:
2020
# use version from go.mod file
2121
go-version-file: 'go.mod'
2222
cache: true
2323
check-latest: true
2424

2525
- name: golangci-lint
26-
uses: reviewdog/action-golangci-lint@8e1117c7d327bbfb1eb7ec8dc2d895d13e6e17c3 # v2
26+
uses: reviewdog/action-golangci-lint@8e1117c7d327bbfb1eb7ec8dc2d895d13e6e17c3 # v2.6.0
2727
with:
2828
github_token: ${{ secrets.github_token }}
2929
golangci_lint_flags: "--config=.golangci.yml --timeout=5m"
@@ -36,18 +36,18 @@ jobs:
3636

3737
steps:
3838
- name: clone
39-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
39+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4040

4141
- name: install go
42-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
42+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
4343
with:
4444
# use version from go.mod file
4545
go-version-file: 'go.mod'
4646
cache: true
4747
check-latest: true
4848

4949
- name: golangci-lint
50-
uses: reviewdog/action-golangci-lint@8e1117c7d327bbfb1eb7ec8dc2d895d13e6e17c3 # v2
50+
uses: reviewdog/action-golangci-lint@8e1117c7d327bbfb1eb7ec8dc2d895d13e6e17c3 # v2.6.0
5151
with:
5252
github_token: ${{ secrets.github_token }}
5353
golangci_lint_flags: "--config=.golangci.yml --timeout=5m"

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1717
- name: install go
18-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
18+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
1919
with:
2020
# use version from go.mod file
2121
go-version-file: 'go.mod'
@@ -31,7 +31,7 @@ jobs:
3131
go test -race -covermode=atomic -coverprofile=coverage.out ./...
3232
3333
- name: coverage
34-
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4
34+
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
3535
with:
3636
token: ${{ secrets.CODECOV_TOKEN }}
3737
file: coverage.out

.github/workflows/validate.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: clone
16-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
16+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1717

1818
- name: install go
19-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
19+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2020
with:
2121
# use version from go.mod file
2222
go-version-file: 'go.mod'

0 commit comments

Comments
 (0)