Skip to content

Commit 6422cbd

Browse files
committed
ci: upgrade actions; dependabot
1 parent df964da commit 6422cbd

File tree

4 files changed

+40
-14
lines changed

4 files changed

+40
-14
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: github-actions
5+
directory: "/"
6+
schedule:
7+
interval: weekly
8+
open-pull-requests-limit: 5

.github/workflows/cmake-build-ci.gen

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,10 @@ jobs:
383383
BUILD_TESTING: "ON"
384384
VERBOSE: "ON"
385385
ENABLE_SANITIZERS: ${{ matrix.sanitizer }}
386+
permissions:
387+
contents: read
386388
steps:
387-
- uses: actions/checkout@v3
389+
- uses: actions/checkout@v5
388390
<?php steps("Linux"); ?>
389391

390392
# memcached
@@ -411,9 +413,11 @@ jobs:
411413
INSTALL_MEMCACHED: ""
412414
MEMCACHED_PREFIX: "/tmp"
413415
ENABLE_SASL: "ON"
416+
permissions:
417+
contents: read
414418
steps:
415-
- uses: actions/checkout@v3
416-
- uses: actions/checkout@v3
419+
- uses: actions/checkout@v5
420+
- uses: actions/checkout@v5
417421
with:
418422
repository: memcached/memcached
419423
path: memcached
@@ -432,10 +436,12 @@ jobs:
432436
env:
433437
CMAKE_BUILD_TYPE: "Release"
434438
BUILD_DOCS_MANGZ: "ON"
439+
permissions:
440+
contents: read
435441
<?php env_override("macOS")?>
436442
continue-on-error: true
437443
steps:
438-
- uses: actions/checkout@v3
444+
- uses: actions/checkout@v5
439445
with:
440446
fetch-depth: 0
441447
<?php steps("macOS", false); ?>
@@ -458,7 +464,7 @@ jobs:
458464
CC_VND: ${{ matrix.cc_vnd }}
459465
CC_VER: ${{ matrix.cc_ver }}
460466
steps:
461-
- uses: actions/checkout@v3
467+
- uses: actions/checkout@v5
462468
with:
463469
fetch-depth: 0
464470
<?php steps("Windows", true); ?>
@@ -480,8 +486,10 @@ jobs:
480486
OS_VER: ${{ matrix.os_ver }}
481487
CC_VND: ${{ matrix.cc_vnd }}
482488
CC_VER: ${{ matrix.cc_ver }}
489+
permissions:
490+
contents: read
483491
steps:
484-
- uses: actions/checkout@v3
492+
- uses: actions/checkout@v5
485493
with:
486494
fetch-depth: 0
487495
<?php steps("Linux", true); ?>

.github/workflows/cmake-build-ci.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ jobs:
4444
BUILD_TESTING: "ON"
4545
VERBOSE: "ON"
4646
ENABLE_SANITIZERS: ${{ matrix.sanitizer }}
47+
permissions:
48+
contents: read
4749
steps:
48-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v5
4951
- name: Prepare environment (for cur gnu on ubuntu-24.04)
5052
if: (env.OS_VER=='ubuntu-24.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
5153
run: |
@@ -134,9 +136,11 @@ jobs:
134136
INSTALL_MEMCACHED: ""
135137
MEMCACHED_PREFIX: "/tmp"
136138
ENABLE_SASL: "ON"
139+
permissions:
140+
contents: read
137141
steps:
138-
- uses: actions/checkout@v3
139-
- uses: actions/checkout@v3
142+
- uses: actions/checkout@v5
143+
- uses: actions/checkout@v5
140144
with:
141145
repository: memcached/memcached
142146
path: memcached
@@ -217,13 +221,15 @@ jobs:
217221
env:
218222
CMAKE_BUILD_TYPE: "Release"
219223
BUILD_DOCS_MANGZ: "ON"
224+
permissions:
225+
contents: read
220226
OS_VND: macOS #
221227
OS_VER: macos-15 #
222228
CC_VND: clang #
223229
CC_VER: cur
224230
continue-on-error: true
225231
steps:
226-
- uses: actions/checkout@v3
232+
- uses: actions/checkout@v5
227233
with:
228234
fetch-depth: 0
229235
- name: Install dependencies (macOS)
@@ -297,7 +303,7 @@ jobs:
297303
CC_VND: ${{ matrix.cc_vnd }}
298304
CC_VER: ${{ matrix.cc_ver }}
299305
steps:
300-
- uses: actions/checkout@v3
306+
- uses: actions/checkout@v5
301307
with:
302308
fetch-depth: 0
303309
- name: Prepare environment (Windows)
@@ -374,8 +380,10 @@ jobs:
374380
OS_VER: ${{ matrix.os_ver }}
375381
CC_VND: ${{ matrix.cc_vnd }}
376382
CC_VER: ${{ matrix.cc_ver }}
383+
permissions:
384+
contents: read
377385
steps:
378-
- uses: actions/checkout@v3
386+
- uses: actions/checkout@v5
379387
with:
380388
fetch-depth: 0
381389
- name: Prepare environment (for new gnu on ubuntu-22.04)

.github/workflows/docs-publish-pages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ env:
1717
jobs:
1818
publish:
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: write
2022
steps:
21-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v5
2224
- name: Install dependencies
2325
run: |
2426
sudo apt-get update -y
@@ -32,7 +34,7 @@ jobs:
3234
- name: Build
3335
run: |
3436
make -C build html
35-
- uses: crazy-max/ghaction-github-pages@v2
37+
- uses: crazy-max/ghaction-github-pages@v4
3638
if: success()
3739
with:
3840
jekyll: false

0 commit comments

Comments
 (0)