Updating shell.nix nightly (#11266)

* The 2022-02-10 nightly can't build some deps

There's a sig that returns `impl IntoIterator<Item = (&'static str, OsString)>` and an Option is being retured but it's incorrectly not allowing a `?` in the method.

* removing duplicate test

* [ci] add job cargo-check-nixos

* add dummy variables nix check

* fix check-dependent jobs

* fix check-dependent-project template

Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
Squirrel
2022-04-27 18:19:07 +01:00
committed by GitHub
parent 247f33dc0b
commit 3ecb5306eb
3 changed files with 16 additions and 19 deletions
+14
View File
@@ -263,6 +263,20 @@ cargo-clippy:
script:
- SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly clippy --all-targets
cargo-check-nixos:
stage: test
<<: *docker-env
<<: *test-refs
before_script: []
variables:
CI_IMAGE: "nixos/nix"
SNAP: "DUMMY"
WS_API: "DUMMY"
script:
- nix-channel --update
- nix-shell shell.nix
- nix-shell --run "cargo check --workspace --all-targets --all-features"
cargo-check-benches:
stage: test
<<: *docker-env