diff --git a/.gitea/workflows/build-and-deploy.yaml b/.gitea/workflows/build-and-deploy.yaml index 4314251..87a4975 100644 --- a/.gitea/workflows/build-and-deploy.yaml +++ b/.gitea/workflows/build-and-deploy.yaml @@ -21,10 +21,10 @@ jobs: - name: Set up Rust toolchain run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + export PATH="$HOME/.cargo/bin:$PATH" rustup update stable rustup default stable - env: - RUSTFLAGS: -D warnings - name: Run tests run: cargo test --all-targets --all-features @@ -40,6 +40,8 @@ jobs: - name: Set up Rust toolchain run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + export PATH="$HOME/.cargo/bin:$PATH" rustup update stable rustup default stable rustup component add rustfmt clippy