mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-06-06 23:13:58 +02:00
96e4f22e38
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [anomalyco/opencode](https://github.com/anomalyco/opencode) and [crate-ci/typos](https://github.com/crate-ci/typos). Updates `actions/checkout` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6.0.2...v6.0.3) Updates `anomalyco/opencode` from 1.15.13 to 1.16.2 - [Release notes](https://github.com/anomalyco/opencode/releases) - [Commits](https://github.com/anomalyco/opencode/compare/385cb694419f98103af0e8fc6187ddcbcbb6eecb...76c631d198f9ff620e15468e45f3457d50481b57) Updates `crate-ci/typos` from 1.47.0 to 1.47.2 - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/f8a58b6b53f2279f71eb605f03a4ae4d10608f45...37bb98842b0d8c4ffebdb75301a13db0267cef89) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: anomalyco/opencode dependency-version: 1.16.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: crate-ci/typos dependency-version: 1.47.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.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@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
|
|
|
|
- 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
|