Skip to content

Commit

Permalink
Fix GitHub Actions was failing due to checkout causing an out of spac…
Browse files Browse the repository at this point in the history
…e error.

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.

Also threw in a bump to some versions of other actions to Node 18 and so on.

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 da5bcbe
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 da5bcbe

Please sign in to comment.