diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f2c3561..f8109ae 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -30,13 +30,22 @@ jobs: timescaledb: name: PG${{ matrix.pg }}${{ matrix.oss }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: pg: [14, 15, 16, 17] oss: [ "", "-oss" ] steps: + # The github runners have a lot of space in /mnt, but apparently not enough in /. This step removes about 13G. + - name: remove unneeded runner software + run: | + df -h + du -chs /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo rm -fr /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo docker image prune --all --force || true + df -h + - uses: actions/checkout@v4 - name: Set up QEMU diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index 473fdf9..8cd97bd 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -24,6 +24,15 @@ jobs: pg: [14, 15, 16, 17] type: ['normal'] steps: + # The github runners have a lot of space in /mnt, but apparently not enough in /. This step removes about 13G. + - name: remove unneeded runner software + run: | + df -h + du -chs /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo rm -fr /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo docker image prune --all --force || true + df -h + - name: Check out the source uses: actions/checkout@v4