From 815d7b9db2656532d95bb18738efbe7d0bc377c6 Mon Sep 17 00:00:00 2001 From: Rene Windegger Date: Fri, 22 May 2026 16:36:55 +0200 Subject: [PATCH] Update CI workflow for multi-platform builds: adjust permissions and upgrade checkout action --- .github/workflows/cmake-multi-platform.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 73187df..7044d4f 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -1,6 +1,8 @@ # This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. # See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml name: CMake on multiple platforms +permissions: + contents: read on: push: @@ -45,7 +47,7 @@ jobs: c_compiler: cl steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set reusable strings # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.