Skip to content

Commit

Permalink
chore: unify two ci jobs doing the same thing (#107)
Browse files Browse the repository at this point in the history
both jobs were cleaning runner disk space.
  • Loading branch information
ricardomaraschini authored Oct 16, 2023
1 parent f5febd2 commit 845e213
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,14 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Python
- name: Check system storage
run: |
sudo df -h
- name: Checkout
uses: actions/checkout@v4
- name: Free up runner disk space
run: |
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Python
- name: Get short commit hash
run: echo "SHORT_SHA=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV
- name: Setup Go
Expand Down

0 comments on commit 845e213

Please sign in to comment.