Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/actions/relocate-tmp/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: relocate tmp
description: >-
Point TMPDIR and GOTMPDIR at the runner temp directory on Linux. Ubuntu 26.04
runners mount /tmp as a ~7.8G RAM-backed tmpfs with a user quota, so large
builds fail with "disk quota exceeded".
https://github.com/actions/runner-images/issues/14777
runs:
using: composite
steps:
- if: runner.os == 'Linux'
shell: bash
run: |
{
echo "TMPDIR=$RUNNER_TEMP"
echo "GOTMPDIR=$RUNNER_TEMP"
} >> "$GITHUB_ENV"
2 changes: 2 additions & 0 deletions .github/workflows/desktop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: ./.github/actions/relocate-tmp

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
go-version-file: go.mod
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: ./.github/actions/relocate-tmp

- name: setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
Expand Down Expand Up @@ -137,6 +139,7 @@ jobs:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: ./.github/actions/relocate-tmp
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
go-version-file: go.mod
Expand Down Expand Up @@ -172,6 +175,8 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: ./.github/actions/relocate-tmp

- name: setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
Expand Down Expand Up @@ -228,6 +233,8 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: ./.github/actions/relocate-tmp

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
go-version-file: go.mod
Expand Down Expand Up @@ -294,8 +301,6 @@ jobs:
${{ runner.os == 'Linux' && '--parallelism=1' || '' }}
env:
DEVSY_CLI_VERSION: v0.0.0
# Ubuntu 26.04 quotas /tmp: https://github.com/actions/runner-images/issues/14777
GOTMPDIR: ${{ runner.temp }}

- name: disk usage after Linux snapshot
if: always() && runner.os == 'Linux'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: ./.github/actions/relocate-tmp

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
with:
go-version-file: go.mod
Expand Down Expand Up @@ -85,6 +87,8 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: ./.github/actions/relocate-tmp

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
Expand Down
Loading