Skip to content

Commit 8eb2703

Browse files
committed
Upgrade GHA workflow dependencies
1 parent 426c31e commit 8eb2703

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/pull_request.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,14 @@ jobs:
1414
build-and-test:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
18-
- name: Checkout submodules # checkout rest
19-
shell: bash
20-
run: |
21-
# If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
22-
git config --global url."https://github.com/".insteadOf "[email protected]:"
23-
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
24-
git submodule sync --recursive
25-
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
17+
- uses: actions/checkout@v4
18+
with:
19+
submodules: true
2620
- uses: actions/setup-node@v4
2721
with:
2822
node-version: "18.x"
2923
- name: cache node modules
30-
uses: actions/cache@v1
24+
uses: actions/cache@v4
3125
with:
3226
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
3327
key: npm-${{ hashFiles('package-lock.json') }}

0 commit comments

Comments
 (0)