19 lines
592 B
YAML
19 lines
592 B
YAML
name: "CI Nix"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
check:
|
|
name: Rust project
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- uses: cachix/install-nix-action@v16
|
|
with:
|
|
#install_url: https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/install
|
|
#install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
- run: nix develop -c rustc --version
|
|
- run: nix run . -- ping
|
|
- run: nix-build
|