Init nix ci (#1141)
* ci(nix): add ci checks for nix * nix flake metadata && * nix build * fix: update `Cargo.lock`
This commit is contained in:
parent
2c3af751da
commit
611ceb0309
2 changed files with 31 additions and 4 deletions
27
.github/workflows/nix.yml
vendored
Normal file
27
.github/workflows/nix.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
name: nix
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
nix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: nix-build
|
||||||
|
timeout-minutes: 15
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2.4.0
|
||||||
|
with:
|
||||||
|
# Nix Flakes doesn't work on shallow clones
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: cachix/install-nix-action@v16
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
fetch-depth: 0
|
||||||
|
- run: nix flake check --print-build-logs --show-trace
|
||||||
|
- run: nix build
|
||||||
8
Cargo.lock
generated
8
Cargo.lock
generated
|
|
@ -1158,9 +1158,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lev_distance"
|
name = "lev_distance"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "4d234d89ecf5621c935b69a4c7266c9a634a95e465081682be47358617ce825b"
|
checksum = "72d9d1bd215936bc8647ad92986bb56f3f216550b53c44ab785e3217ae33625e"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
|
|
@ -2115,9 +2115,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "suggestion"
|
name = "suggestion"
|
||||||
version = "0.1.0"
|
version = "0.3.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "015336207b7660be204f5012fcdb84b3ff35442b26cea77ebe6103929a56e54b"
|
checksum = "64d6669311fea55a1f867fdc61afc8690e9f1d93829179a617575cc6083136e3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lev_distance",
|
"lev_distance",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue