From c214bfa52594296ce61f116f667a4aa6981a5343 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 19 Apr 2025 21:33:28 -0700 Subject: [PATCH 1/4] ci: use latest free-disk-space action and latest ubuntu --- .github/workflows/build-system.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-system.yml b/.github/workflows/build-system.yml index 73945ab..456f60e 100644 --- a/.github/workflows/build-system.yml +++ b/.github/workflows/build-system.yml @@ -5,13 +5,13 @@ on: jobs: build-x86_64-demeter: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 + uses: jlumbroso/free-disk-space@latest - uses: actions/checkout@v4 - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main @@ -21,13 +21,13 @@ jobs: # nix flake check --all-systems nix build .#nixosConfigurations.demeter.config.system.build.toplevel build-aarch64-callisto: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-latest-arm permissions: contents: read id-token: write steps: - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 + uses: jlumbroso/free-disk-space@latest - uses: actions/checkout@v4 - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main From abc43cd7682d747874935a8804d8e94fa40936d4 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 19 Apr 2025 21:37:33 -0700 Subject: [PATCH 2/4] fix(build-system): pass github token so private repos can be read --- .github/workflows/build-system.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-system.yml b/.github/workflows/build-system.yml index 456f60e..d885bc4 100644 --- a/.github/workflows/build-system.yml +++ b/.github/workflows/build-system.yml @@ -16,7 +16,9 @@ jobs: - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main - uses: DeterminateSystems/nix-installer-action@main - - name: Build select system configurations. + with: + github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + - name: Build demeter run: | # nix flake check --all-systems nix build .#nixosConfigurations.demeter.config.system.build.toplevel @@ -32,7 +34,9 @@ jobs: - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main - uses: DeterminateSystems/nix-installer-action@main - - name: Build select system configurations. + with: + github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + - name: Build callisto run: | # nix flake check --all-systems nix build .#nixosConfigurations.callisto.config.system.build.toplevel From 0b4b1e652a9602c7c0316c34534d0309f50fbf20 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 19 Apr 2025 21:51:21 -0700 Subject: [PATCH 3/4] fix: use patched free-disk-space action --- .github/workflows/build-system.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-system.yml b/.github/workflows/build-system.yml index d885bc4..795e143 100644 --- a/.github/workflows/build-system.yml +++ b/.github/workflows/build-system.yml @@ -11,7 +11,7 @@ jobs: id-token: write steps: - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@latest + uses: Jayllyz/free-disk-space@perf/use-rmz - uses: actions/checkout@v4 - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main @@ -29,7 +29,7 @@ jobs: id-token: write steps: - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@latest + uses: Jayllyz/free-disk-space@perf/use-rmz - uses: actions/checkout@v4 - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main From d425e3837d6af9ebea8adfcbc34832a39b77f969 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 19 Apr 2025 21:55:13 -0700 Subject: [PATCH 4/4] fix(build-system): use 24.04 ubuntu images --- .github/workflows/build-system.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-system.yml b/.github/workflows/build-system.yml index 795e143..e60310d 100644 --- a/.github/workflows/build-system.yml +++ b/.github/workflows/build-system.yml @@ -5,7 +5,7 @@ on: jobs: build-x86_64-demeter: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read id-token: write @@ -23,7 +23,7 @@ jobs: # nix flake check --all-systems nix build .#nixosConfigurations.demeter.config.system.build.toplevel build-aarch64-callisto: - runs-on: ubuntu-latest-arm + runs-on: ubuntu-24.04-arm permissions: contents: read id-token: write