@@ -56,14 +56,14 @@ jobs:
5656 build_type : unix
5757
5858 steps :
59- - uses : actions/checkout@v4
59+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6060 with :
6161 fetch-depth : 0
6262
6363 # =========== Linux Setup ===========
6464 - name : Cache apt packages
6565 if : matrix.os_name == 'linux'
66- uses : actions/cache@v4
66+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6767 with :
6868 path : /var/cache/apt/archives
6969 key : ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/continuos-release.yml') }}
8787 # =========== macOS Setup ===========
8888 - name : Cache Homebrew
8989 if : matrix.os_name == 'macos'
90- uses : actions/cache@v4
90+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
9191 with :
9292 path : |
9393 ~/Library/Caches/Homebrew
@@ -104,7 +104,7 @@ jobs:
104104 # =========== Windows MinGW Setup ===========
105105 - name : Setup MSYS2 (MinGW)
106106 if : matrix.build_type == 'mingw'
107- uses : msys2/setup-msys2@v2
107+ uses : msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2.30.0
108108 with :
109109 msystem : MINGW64
110110 update : true
@@ -113,19 +113,19 @@ jobs:
113113 # =========== Windows MSVC Setup ===========
114114 - name : Setup vcpkg (MSVC)
115115 if : matrix.build_type == 'msvc'
116- uses : lukka/run-vcpkg@v11
116+ uses : lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
117117 with :
118118 vcpkgGitCommitId : ' 01f602195983451bc83e72f4214af2cbc495aa94' # 2024.05.24
119119 vcpkgJsonGlob : ' vcpkg.json'
120120
121121 - name : Setup CMake and Ninja (MSVC)
122122 if : matrix.build_type == 'msvc'
123- uses : lukka/get-cmake@latest
123+ uses : lukka/get-cmake@9e07ecdcee1b12e5037e42f410b67f03e2f626e1 # v4.2.1
124124
125125 # =========== Linux/macOS CMake Setup ===========
126126 - name : Setup CMake and Ninja (Unix)
127127 if : matrix.build_type == 'unix'
128- uses : lukka/get-cmake@latest
128+ uses : lukka/get-cmake@9e07ecdcee1b12e5037e42f410b67f03e2f626e1 # v4.2.1
129129
130130 # =========== Build Steps ===========
131131
@@ -143,7 +143,7 @@ jobs:
143143 # Windows MSVC Build
144144 - name : Build and test (Windows MSVC)
145145 if : matrix.build_type == 'msvc'
146- uses : lukka/run-cmake@v10
146+ uses : lukka/run-cmake@af1be47fd7c933593f687731bc6fdbee024d3ff4 # v10.8
147147 with :
148148 configurePreset : ' windows-msvc'
149149 buildPreset : ' windows-msvc'
@@ -152,7 +152,7 @@ jobs:
152152 # Linux/macOS Build
153153 - name : Build and test (Unix)
154154 if : matrix.build_type == 'unix'
155- uses : lukka/run-cmake@v10
155+ uses : lukka/run-cmake@af1be47fd7c933593f687731bc6fdbee024d3ff4 # v10.8
156156 with :
157157 configurePreset : ' default'
158158 buildPreset : ' default'
@@ -196,7 +196,7 @@ jobs:
196196
197197 - name : Upload build artifacts (MinGW/Unix)
198198 if : matrix.build_type != 'msvc'
199- uses : actions/upload-artifact@v4
199+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
200200 with :
201201 name : headsetcontrol-${{ matrix.os_name }}-${{ matrix.architecture }}
202202 path : |
@@ -206,7 +206,7 @@ jobs:
206206
207207 - name : Upload build artifacts (MSVC)
208208 if : matrix.build_type == 'msvc'
209- uses : actions/upload-artifact@v4
209+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
210210 with :
211211 name : headsetcontrol-${{ matrix.os_name }}-${{ matrix.architecture }}
212212 path : |
@@ -220,12 +220,12 @@ jobs:
220220 permissions :
221221 contents : write
222222 steps :
223- - uses : actions/checkout@v4
223+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
224224 with :
225225 fetch-depth : 0
226226
227227 - name : Download all artifacts
228- uses : actions/download-artifact@v4
228+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
229229 with :
230230 merge-multiple : true
231231 path : ./artifacts
@@ -279,7 +279,7 @@ jobs:
279279 echo "*Built from commit: \`${{ github.sha }}\`*" >> CHANGELOG.md
280280
281281 - name : Create/Update continuous release
282- uses : ncipollo/release-action@v1
282+ uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
283283 with :
284284 tag : continuous
285285 name : ' Continuous Build'
0 commit comments