-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,17 +27,17 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- run: nix --version | ||
- name: Format | ||
run: nix --accept-flake-config fmt -- --fail-on-change | ||
run: nix fmt -- --fail-on-change | ||
- name: Prevent blst | ||
run: nix --accept-flake-config develop -j auto --command sh -c '[ -z "$(cargo tree | grep blst)" ]' | ||
run: nix develop -j auto --command sh -c '[ -z "$(cargo tree | grep blst)" ]' | ||
- name: Build | ||
run: nix --accept-flake-config --log-format raw -L build -j auto .#{all,js_jstz} | ||
- name: Flake check | ||
run: nix --accept-flake-config --log-format raw --log-lines 70 -L flake check -j auto | ||
run: nix --log-format raw --log-lines 70 -L flake check -j auto | ||
# Coverage is part of nix flake check, but we want to upload it to Codecov | ||
# So we run it again (it's cached) and upload the result | ||
- name: Coverage | ||
run: nix --accept-flake-config --log-format raw -L build .#checks.x86_64-linux.cargo-llvm-cov | ||
run: nix --log-format raw -L build .#checks.x86_64-linux.cargo-llvm-cov | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|