From 6d9b8982387c6a8c08dc62e246b519049a8d779a Mon Sep 17 00:00:00 2001 From: neosam Date: Sat, 29 Jun 2024 12:56:38 +0000 Subject: [PATCH] Install more rust tools on build action --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7637223..a142003 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,11 +20,11 @@ jobs: run: nix-env -iA nixpkgs.nodejs - uses: actions/checkout@v4 - name: Install cargo - run: nix-env -iA nixpkgs.cargo - #- name: Formatting - # run: cargo fmt --all -- --check + run: nix-env -iA nixpkgs.rustc nixpkgs.cargo nixpkgs.gcc nixpkgs.rustfmt nixpkgs.clippy + - name: Formatting + run: cargo fmt --all -- --check - name: Build local version - run: cargo build --verbose + run: nix-build - name: Build OIDC version run: cargo build --verbose --no-default-features --features oidc - name: Run tests