mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-25 13:50:51 +02:00
2087817a39
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [docker/login-action](https://github.com/docker/login-action) and [anomalyco/opencode/github](https://github.com/anomalyco/opencode). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `docker/login-action` from 4.4.0 to 4.5.1 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/af1e73f918a031802d376d3c8bbc3fe56130a9b0...abd2ef45e78c5afb21d64d4ca52ee8550d9572c7) Updates `anomalyco/opencode/github` from 1.18.3 to 1.18.5 - [Release notes](https://github.com/anomalyco/opencode/releases) - [Commits](https://github.com/anomalyco/opencode/compare/127bdb30784d508cc556c71a0f32b508a3061517...e5cc278dec9294a627a7b05f47ce6a564408c1a2) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: docker/login-action dependency-version: 4.5.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: anomalyco/opencode/github dependency-version: 1.18.5 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@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
|
|
|
|
- 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
|