From b95b80061dc7619c3d48a32e9f61e358b89a2716 Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Thu, 3 Aug 2023 06:22:39 -0700 Subject: [PATCH] Maximize Space and bump up GitHub Actions workflow versions (#3356) * Fix GitHub Actions was failing due to checkout causing an out of space 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 #3355 which was a test of the GitHub Actions system to see it broken. * Pin maximize build space action call to a commit --- .github/workflows/check_colors_sizes.yml | 6 ++++-- .github/workflows/check_file_location.yml | 6 ++++-- .github/workflows/check_filename.yml | 6 ++++-- .github/workflows/check_stat.yml | 6 ++++-- .github/workflows/dont_modify_imgs.yml | 4 +++- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check_colors_sizes.yml b/.github/workflows/check_colors_sizes.yml index 496429a8c3..3d5c878ada 100644 --- a/.github/workflows/check_colors_sizes.yml +++ b/.github/workflows/check_colors_sizes.yml @@ -11,9 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Maximize build space + uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3 + - 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 diff --git a/.github/workflows/check_file_location.yml b/.github/workflows/check_file_location.yml index 71e846403b..3ac1189eb9 100644 --- a/.github/workflows/check_file_location.yml +++ b/.github/workflows/check_file_location.yml @@ -11,9 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Maximize build space + uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3 + - 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 diff --git a/.github/workflows/check_filename.yml b/.github/workflows/check_filename.yml index 43b256bdab..747c0fb244 100644 --- a/.github/workflows/check_filename.yml +++ b/.github/workflows/check_filename.yml @@ -18,9 +18,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Maximize build space + uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3 + - 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 diff --git a/.github/workflows/check_stat.yml b/.github/workflows/check_stat.yml index 505829ed8a..66585b5843 100644 --- a/.github/workflows/check_stat.yml +++ b/.github/workflows/check_stat.yml @@ -18,12 +18,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Maximize build space + uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3 + - 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 diff --git a/.github/workflows/dont_modify_imgs.yml b/.github/workflows/dont_modify_imgs.yml index 1190871da4..8c4e04e9f0 100644 --- a/.github/workflows/dont_modify_imgs.yml +++ b/.github/workflows/dont_modify_imgs.yml @@ -16,7 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Maximize build space + uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3 + - uses: actions/checkout@v3 with: fetch-depth: 0