Browse code

GHA: Dependency and Actions update April 2025 (2.6)

- Update all actions to latest releases.
- Update vcpkg commit to latest master.

Change-Id: Ie9bffcc487f53a3a8ae6e59b79e654360d99902c
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Message-Id: <20250331153309.77901-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31290.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 0ffa7b57fdfb2658ae326baea0871ccca2c01b7d)
Message-Id: <20250402154409.12205-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31330.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Frank Lichtenheld authored on 2025/04/03 00:44:01
Showing 2 changed files
... ...
@@ -27,7 +27,7 @@ jobs:
27 27
       - name: Show changes on standard output
28 28
         run: git diff
29 29
         working-directory: openvpn
30
-      - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
30
+      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
31 31
         with:
32 32
           name: uncrustify-changes.patch
33 33
           path: 'openvpn/uncrustify-changes.patch'
... ...
@@ -55,7 +55,7 @@ jobs:
55 55
       - name: Restore from cache and install vcpkg
56 56
         uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
57 57
         with:
58
-          vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4
58
+          vcpkgGitCommitId: acd5bba5aac8b6573b5f6f463dc0341ac0ee6fa4
59 59
           vcpkgJsonGlob: '**/mingw/vcpkg.json'
60 60
 
61 61
       - name: Run CMake with vcpkg.json manifest
... ...
@@ -65,7 +65,7 @@ jobs:
65 65
           buildPreset: mingw-${{ matrix.arch }}
66 66
           buildPresetAdditionalArgs: "['--config Debug']"
67 67
 
68
-      - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
68
+      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
69 69
         with:
70 70
           name: openvpn-mingw-${{ matrix.arch }}
71 71
           path: |
... ...
@@ -73,7 +73,7 @@ jobs:
73 73
             ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll
74 74
             !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe
75 75
 
76
-      - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
76
+      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
77 77
         with:
78 78
           name: openvpn-mingw-${{ matrix.arch }}-tests
79 79
           path: |
... ...
@@ -92,7 +92,7 @@ jobs:
92 92
     name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL"
93 93
     steps:
94 94
       - name: Retrieve mingw unittest
95
-        uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
95
+        uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
96 96
         with:
97 97
           name: openvpn-mingw-${{ matrix.arch }}-tests
98 98
           path: unittests
... ...
@@ -227,7 +227,7 @@ jobs:
227 227
       runs-on: windows-latest
228 228
       steps:
229 229
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
230
-      - uses: lukka/get-cmake@5f6e04f5267c8133f1273bf2103583fc72c46b17 # v3.31.5
230
+      - uses: lukka/get-cmake@56d043d188c3612951d8755da8f4b709ec951ad6 # v3.31.6
231 231
 
232 232
       - name: Install rst2html
233 233
         run: python -m pip install --upgrade pip docutils
... ...
@@ -235,7 +235,7 @@ jobs:
235 235
       - name: Restore artifacts, or setup vcpkg (do not install any package)
236 236
         uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
237 237
         with:
238
-          vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4
238
+          vcpkgGitCommitId: acd5bba5aac8b6573b5f6f463dc0341ac0ee6fa4
239 239
           vcpkgJsonGlob: '**/windows/vcpkg.json'
240 240
 
241 241
       - name: Run CMake with vcpkg.json manifest (NO TESTS)
... ...
@@ -254,7 +254,7 @@ jobs:
254 254
           testPreset: win-${{ matrix.arch }}-release
255 255
           testPresetAdditionalArgs: "['--output-on-failure']"
256 256
 
257
-      - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
257
+      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
258 258
         with:
259 259
           name: openvpn-msvc-${{ matrix.arch }}
260 260
           path: |
... ...
@@ -13,7 +13,7 @@ jobs:
13 13
     steps:
14 14
       - name: Check submission cache
15 15
         id: check_submit
16
-        uses: actions/cache/restore@v4
16
+        uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
17 17
         with:
18 18
           path: |
19 19
             cov-int
... ...
@@ -65,7 +65,7 @@ jobs:
65 65
 
66 66
       - name: Cache submission
67 67
         if: steps.check_submit.outputs.cache-hit != 'true'
68
-        uses: actions/cache/save@v4
68
+        uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
69 69
         with:
70 70
           path: |
71 71
             cov-int