From 79dc01a0ed828714d84c46a741eb343b581d1dd7 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 30 Jun 2024 13:10:23 +0100 Subject: [PATCH] Reduce core count for CI --- .gitea/workflows/ci.yaml | 4 +++- .gitea/workflows/installer.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c7674a7..e5d872f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v23 + - uses: cachix/install-nix-action@v27 with: # Gitea will supply a token in GITHUB_TOKEN, which this action will # try to pass to Nix when downloading from GitHub @@ -18,6 +18,8 @@ jobs: extra_nix_config: | # Make sure we're using sandbox sandbox-fallback = false + # Big C++ projects fill up memory... + cores = 12 extra-substituters = https://nix-cache.nul.ie/main extra-trusted-public-keys = main:mMChkG8LwXrFirVfudqjSHasK1jV31OVElYD3eImYl8= diff --git a/.gitea/workflows/installer.yaml b/.gitea/workflows/installer.yaml index 226f9f1..c233a36 100644 --- a/.gitea/workflows/installer.yaml +++ b/.gitea/workflows/installer.yaml @@ -14,7 +14,7 @@ jobs: uses: https://github.com/actions/setup-go@v4 with: go-version: '>=1.20.1' - - uses: cachix/install-nix-action@v23 + - uses: cachix/install-nix-action@v27 with: github_access_token: ${{ secrets.GH_PULL_TOKEN }} extra_nix_config: |