mirror of
https://github.com/herdrdev/herdr.git
synced 2026-11-06 08:06:30 +00:00
Bumps the github-actions group with 3 updates: [taiki-e/install-action](https://github.com/taiki-e/install-action), [cachix/install-nix-action](https://github.com/cachix/install-nix-action) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `taiki-e/install-action` from 2.81.9 to 2.87.22 - [Release notes](https://github.com/taiki-e/install-action/releases) - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/install-action/compare/fd2f5e3d644b484055ebf4268f474c565f148f25...83ac0ad63c0167e6f06796fab0fce28db1bf3db0) Updates `cachix/install-nix-action` from 31.10.6 to 31.11.1 - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md) - [Commits](https://github.com/cachix/install-nix-action/compare/8aa03977d8d733052d78f4e008a241fd1dbf36b3...13d8dd58da0234aa297dedd986986ccb8e7f3e24) Updates `softprops/action-gh-release` from 3.0.0 to 3.0.3 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/b4309332981a82ec1c5618f44dd2e27cc8bfbfda...efb35369e0ad2afab669f228072c1b0d510eae64) --- updated-dependencies: - dependency-name: taiki-e/install-action dependency-version: 2.87.22 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: cachix/install-nix-action dependency-version: 31.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: softprops/action-gh-release dependency-version: 3.0.3 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>
62 lines
1.4 KiB
YAML
62 lines
1.4 KiB
YAML
name: Nix
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
paths:
|
|
- ".github/workflows/nix.yml"
|
|
- "assets/**"
|
|
- "build.rs"
|
|
- "crates/**"
|
|
- "Cargo.lock"
|
|
- "Cargo.toml"
|
|
- "flake.lock"
|
|
- "flake.nix"
|
|
- "nix/**"
|
|
- "skills/**"
|
|
- "vendor/**"
|
|
push:
|
|
branches: [master]
|
|
paths:
|
|
- ".github/workflows/nix.yml"
|
|
- "assets/**"
|
|
- "build.rs"
|
|
- "crates/**"
|
|
- "Cargo.lock"
|
|
- "Cargo.toml"
|
|
- "flake.lock"
|
|
- "flake.nix"
|
|
- "nix/**"
|
|
- "skills/**"
|
|
- "vendor/**"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: nix-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
flake-check:
|
|
name: flake check
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@13d8dd58da0234aa297dedd986986ccb8e7f3e24 # v31.11.1
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
always-allow-substitutes = true
|
|
|
|
- name: Run Nix flake check
|
|
run: |
|
|
nix flake check --print-build-logs
|
|
nix flake check --all-systems --no-build --print-build-logs
|