Skip to content

Commit

Permalink
GitHub Actions was failing due to checkout causing an out of space er…
Browse files Browse the repository at this point in the history
…ror.

Added https://github.com/marketplace/actions/maximize-build-disk-space

Using this GitHub Action I've added, the checks will work again. More levers to trade time for more space are available in that action if desired.

Closes commaai#3355 which was a test of the GitHub Actions system to see it broken.
  • Loading branch information
nelsonjchen authored Aug 3, 2023
1 parent 0277ba4 commit 5e2748a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check_colors_sizes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Maximize build space
uses: easimon/maximize-build-space@master
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check_file_location.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Maximize build space
uses: easimon/maximize-build-space@master
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check_filename.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Maximize build space
uses: easimon/maximize-build-space@master
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check_stat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Maximize build space
uses: easimon/maximize-build-space@master
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dont_modify_imgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Maximize build space
uses: easimon/maximize-build-space@master
- uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down

0 comments on commit 5e2748a

Please sign in to comment.