mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 08:13:57 +01:00
947305fc7f
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 27. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v20...V27) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
758 B
YAML
35 lines
758 B
YAML
# Verify the Nix build is working
|
|
# Failures will usually occur due to an out of date Rust version
|
|
# That can be updated to the latest version in nixpkgs-unstable with `nix flake update`
|
|
name: Nix
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths-ignore:
|
|
- 'ui/**'
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths-ignore:
|
|
- 'ui/**'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@V27
|
|
|
|
- name: Run nix flake check
|
|
run: nix flake check --print-build-logs
|
|
|
|
build-test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@V27
|
|
|
|
- name: Run nix build
|
|
run: nix build --print-build-logs
|