mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-14 12:53:43 +01:00
`ci.yaml` runs two jobs on GitHub-hosted runners, gated on the repository name so that forks do not run them. `cargo-deny` checks licenses, advisories and sources. `lint` runs `nix flake check`, which builds every check of the flake, and the repository's own macro rules from the justfile. The triggers are the ones komorebi for Mac uses: pull requests, pushes to master, feature and hotfix branches, version tags, a weekly schedule and a manual run. The Nix store is cached with cache-nix-action, which needs no account. komorebi follows the tip of nixpkgs-unstable, so `flake.lock` moves, and KWin with it. `update-flake-lock.yaml` opens a pull request each week with the title `chore(deps): flake.lock: Update`; the same jobs run on it, which is what says whether the new KWin still works. Dependabot keeps the actions and the crates up to date, and the pull request template carries over from komorebi for Mac. CONTRIBUTING.md describes what CI runs.
26 lines
760 B
YAML
26 lines
760 B
YAML
# komorebi tracks the tip of nixpkgs-unstable, so the lock moves every week. The pull request runs
|
|
# the same jobs as any other, which is what says whether the new KWin still works.
|
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 3 * * 1" # Every Monday at 03:00 UTC
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update:
|
|
if: github.repository == 'LGUG2Z/komorebi-for-kde'
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: cachix/install-nix-action@v31
|
|
- uses: DeterminateSystems/update-flake-lock@v29
|
|
with:
|
|
commit-msg: "chore(deps): flake.lock: Update"
|
|
pr-title: "chore(deps): flake.lock: Update"
|
|
pr-assignees: LGUG2Z
|