Skip to content

Commit 845e213

Browse files
chore: unify two ci jobs doing the same thing (#107)
both jobs were cleaning runner disk space.
1 parent f5febd2 commit 845e213

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pull-request.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,14 @@ jobs:
4848
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
4949
sudo rm -rf /usr/local/lib/android
5050
sudo rm -rf /opt/ghc
51+
sudo rm -rf /usr/local/lib/android
52+
sudo rm -rf /opt/hostedtoolcache/CodeQL
53+
sudo rm -rf /opt/hostedtoolcache/Python
5154
- name: Check system storage
5255
run: |
5356
sudo df -h
5457
- name: Checkout
5558
uses: actions/checkout@v4
56-
- name: Free up runner disk space
57-
run: |
58-
sudo rm -rf /usr/local/lib/android
59-
sudo rm -rf /opt/hostedtoolcache/CodeQL
60-
sudo rm -rf /opt/hostedtoolcache/Python
6159
- name: Get short commit hash
6260
run: echo "SHORT_SHA=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV
6361
- name: Setup Go

0 commit comments

Comments
 (0)