Skip to content

Commit 6ea8a4e

Browse files
Update checkout action version from v4 to v5
1 parent cce40a4 commit 6ea8a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/reusables/actions/workflow-basic-example-and-explanation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# Groups together all the steps that run in the `check-bats-version` job. Each item nested under this section is a separate action or shell script.
5454
steps:
5555

56-
# The `uses` keyword specifies that this step will run `v4` of the `actions/checkout` action. This is an action that checks out your repository onto the runner, allowing you to run scripts or other actions against your code (such as build and test tools). You should use the checkout action any time your workflow will use the repository's code.
56+
# The `uses` keyword specifies that this step will run `v5` of the `actions/checkout` action. This is an action that checks out your repository onto the runner, allowing you to run scripts or other actions against your code (such as build and test tools). You should use the checkout action any time your workflow will use the repository's code.
5757
- uses: {% data reusables.actions.action-checkout %}
5858

5959
# This step uses the `{% data reusables.actions.action-setup-node %}` action to install the specified version of the Node.js. (This example uses version 20.) This puts both the `node` and `npm` commands in your `PATH`.

0 commit comments

Comments
 (0)