.dotfiles/.forgejo/workflows/main.yml
tmayoff 0c2fb6f26f chore(deps): update actions/checkout action to v6 (#54)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | major | `v4` -> `v6` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v6`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600)

[Compare Source](https://github.com/actions/checkout/compare/v5...v6)

- Persist creds to a separate file by [@&#8203;ericsciple](https://github.com/ericsciple) in [#&#8203;2286](https://github.com/actions/checkout/pull/2286)
- Update README to include Node.js 24 support details and requirements by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;2248](https://github.com/actions/checkout/pull/2248)

### [`v5`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501)

[Compare Source](https://github.com/actions/checkout/compare/v4...v5)

- Port v6 cleanup to v5 by [@&#8203;ericsciple](https://github.com/ericsciple) in [#&#8203;2301](https://github.com/actions/checkout/pull/2301)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNjkuMyIsInVwZGF0ZWRJblZlciI6IjQyLjI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Reviewed-on: https://codeberg.org/tmayoff/.dotfiles/pulls/54
2025-12-04 00:12:55 +01:00

62 lines
1.6 KiB
YAML

name: build flakes
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: linux
hostname: wash
arch: x86_64-linux
# - os: darwin
# hostname: MAC-C57KK2TC69
# arch: aarch64-darwin
runs-on: kaylee
continue-on-error: false
steps:
- uses: actions/checkout@v6
- name: Install Nix
uses: https://github.com/DeterminateSystems/nix-installer-action@main
- name: build nixos
if: ${{ matrix.os }} == 'linux'
run: |
nix build -L ./dot_config/flake#nixosConfigurations.${{matrix.hostname}}.config.system.build.toplevel --cores 4 -j4
# - name: build darwin
# if: runner.os == 'macOS'
# run: |
# nix build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}}.config.system.build.topLevel --cores 1 -j1
# - name: download last artifact
# uses: dawidd6/action-download-artifact@v11
# with:
# workflow: main.yml
# workflow_conclusion: success
# name: ${{ matrix.os }}-${{ matrix.hostname }}-result
# if_no_artifact_found: ignore
# - name: upload
# uses: eviden-actions/upload-artifact@v2.0.0
# with:
# name: ${{ matrix.os }}-${{ matrix.hostname }}-result
# path:
# result
# - name: extract result
# run: |
# tar -xvf ${{ matrix.os }}-${{ matrix.hostname }}-result.tar.gz last-result || true
# - name: diff
# run: |
# nix run nixpkgs#nvd -- diff last-result result || true