Skip to content

Commit

Permalink
Use shallow clones in actions (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Jun 19, 2024
1 parent d30ec09 commit cdf5dd8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/upload-windy-sounding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
WINDY_API_KEY: '${{ secrets.WINDY_API_KEY }}'
steps:
- uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- name: Build
run: |
npm install
Expand Down

0 comments on commit cdf5dd8

Please sign in to comment.