Skip to content

Commit 5047717

Browse files
committed
Use major version refs of GitHub Actions actions
Use of the major version ref will cause the workflow to use stable release versions of the utility actions while automatically benefiting from ongoing development to those actions up until such time as a new major release of an action is made. At that time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before updating the major ref (e.g., `uses: actions/checkout@v2` -> `uses: actions/checkout@v3`).
1 parent d195d5f commit 5047717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-typescript-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@master
20+
uses: actions/checkout@v2
2121

2222
- name: Set Node.js 10.x
23-
uses: actions/setup-node@master
23+
uses: actions/setup-node@v2
2424
with:
2525
version: 10.x
2626

0 commit comments

Comments
 (0)