ci: Use newer actions
This commit is contained in:
parent
f3b4c3fd4f
commit
0f641867f8
1 changed files with 4 additions and 8 deletions
12
.github/workflows/ci-nix.yml
vendored
12
.github/workflows/ci-nix.yml
vendored
|
@ -7,12 +7,8 @@ jobs:
|
||||||
name: Rust project
|
name: Rust project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v16
|
- name: Install Nix
|
||||||
with:
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
#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 develop -c rustc --version
|
||||||
- run: $(nix-build --no-out-link)/bin/rust-nix-template
|
- run: nix run
|
||||||
|
|
Loading…
Reference in a new issue