summaryrefslogtreecommitdiff
path: root/.github/workflows/cppcheck.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cppcheck.yml')
-rw-r--r--.github/workflows/cppcheck.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml
index 2502bc26..051756dc 100644
--- a/.github/workflows/cppcheck.yml
+++ b/.github/workflows/cppcheck.yml
@@ -5,7 +5,8 @@
# \___/_/\_\ .__/ \__,_|\__|
# |_| XML parser
#
-# Copyright (c) 2021-2022 Sebastian Pipping <sebastian@pipping.org>
+# Copyright (c) 2021-2024 Sebastian Pipping <sebastian@pipping.org>
+# Copyright (c) 2023 Joyce Brum <joycebrum@google.com>
# Licensed under the MIT license:
#
# Permission is hereby granted, free of charge, to any person obtaining
@@ -35,12 +36,15 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
+permissions:
+ contents: read
+
jobs:
checks:
name: Run Cppcheck
- runs-on: macos-11
+ runs-on: macos-12
steps:
- - uses: actions/checkout@v3.1.0
+ - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install runtime dependencies
run: |
exec brew install cppcheck findutils