ci: Use newer actions

This commit is contained in:
Sridhar Ratnakumar 2023-06-26 12:37:00 -04:00
parent f3b4c3fd4f
commit 0f641867f8

View file

@ -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