mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-06-24 23:49:55 +02:00
828a604c9d
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [pnpm/action-setup](https://github.com/pnpm/action-setup) and [anomalyco/opencode](https://github.com/anomalyco/opencode). Updates `actions/checkout` from 6.0.3 to 7.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6.0.3...v7) Updates `pnpm/action-setup` from 6.0.8 to 6.0.9 - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/0e279bb959325dab635dd2c09392533439d90093...0ebf47130e4866e96fce0953f49152a61190b271) Updates `anomalyco/opencode` from 1.17.4 to 1.17.8 - [Release notes](https://github.com/anomalyco/opencode/releases) - [Commits](https://github.com/anomalyco/opencode/compare/abda3515f444c4d28a98953d153c5a3e1892d3d4...11e47f91496005aab4d7c5a2d0a7da5d2651b4ac) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: pnpm/action-setup dependency-version: 6.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: anomalyco/opencode dependency-version: 1.17.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
name: Flake Test
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- ".github/workflows/flake-test.yml"
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- ".github/workflows/flake-test.yml"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
flake:
|
|
name: validate-flake
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 90
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@a6f7623b2e2401f485f1eead77ced45bd99b09b0 #v31
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
|
|
- name: Evaluate flake outputs
|
|
run: nix flake show --all-systems
|
|
|
|
- name: Check setup app is exposed
|
|
run: nix eval .#apps.x86_64-linux.setup.program --raw
|
|
|
|
- name: Run flake setup app
|
|
env:
|
|
CI: "true"
|
|
run: nix run .#setup
|
|
|
|
- name: Run flake info app
|
|
run: nix run .#info
|
|
|
|
# `nix flake show` above only evaluates the flake. This step actually
|
|
# compiles the app inside the Nix environment, which is what catches a
|
|
# missing build-time dependency — in particular libayatana-appindicator
|
|
# (required by libappindicator-sys for the Linux system tray). The build
|
|
# fails here if that dependency is dropped from the flake.
|
|
- name: Build the app via the flake
|
|
run: nix run .#build
|