mirror of
https://github.com/FliegendeWurst/ripgrep-all.git
synced 2024-11-08 14:00:37 +00:00
26 lines
686 B
YAML
26 lines
686 B
YAML
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
|
|
#
|
|
# While our "example" application has platform-specific code,
|
|
# for simplicity we are compiling and testing everything in a nix-on-Linux environment only.
|
|
|
|
on: [push, pull_request]
|
|
|
|
name: ci
|
|
|
|
jobs:
|
|
nix-flake-check:
|
|
name: nix flake check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install nix
|
|
uses: cachix/install-nix-action@v21
|
|
|
|
- name: Ensure the build succeeds
|
|
run: nix build
|
|
|
|
- name: Run `nix flake check` to run formatters, linters, and tests
|
|
run: nix flake check --print-build-logs
|