Skip to content

Commit 515a4dc

Browse files
committed
Bump actions examples
1 parent 5709213 commit 515a4dc

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/action-d
1616
## Example usage for 5.x series
1717

1818
```yml
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: build doctum docs
2121
uses: sudo-bot/action-doctum@v5
2222
with:
@@ -30,7 +30,7 @@ You can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/action-d
3030
## Example usage for latest series
3131
3232
```yml
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434
- name: build doctum docs
3535
uses: sudo-bot/action-doctum@latest
3636
with:
@@ -44,7 +44,7 @@ You can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/action-d
4444
## Example usage for dev series
4545
4646
```yml
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848
- name: build doctum docs
4949
uses: sudo-bot/action-doctum@dev
5050
with:
@@ -60,14 +60,17 @@ You can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/action-d
6060
```yml
6161
name: Lint phpdocs
6262

63+
permissions:
64+
contents: read
65+
6366
on: [push]
6467

6568
jobs:
6669
lint-phpdoc:
67-
name: lint-phpdoc
70+
name: Lint phpdocs
6871
runs-on: ubuntu-latest
6972
steps:
70-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@v6
7174
- name: Create a config file
7275
# Scan all the src folder
7376
run: echo "<?php return new Doctum\Doctum('src/');" > doctum-config.php

0 commit comments

Comments
 (0)