Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArchBlood <35392110+ArchBlood@users.noreply.github.com>
  • Loading branch information
ArchBlood authored Mar 28, 2024
1 parent 94c3dce commit 194b4dd
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,24 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Generate tests
run: cargo test --lib
# Add a step to print the contents of the Cargo.toml file
- name: Print Cargo.toml
run: cat Cargo.toml
working-directory: ${{ github.workspace }}

# Add a step to list files in the working directory for debugging
- name: List files in working directory
run: ls -la
working-directory: ${{ github.workspace }}

# Add a step to check if Cargo can parse the manifest
- name: Check Cargo manifest
run: cargo check --manifest-path=Cargo.toml
working-directory: ${{ github.workspace }}

# Add other steps for testing, clippy checks, etc.
- name: Check for clippy warnings
run: cargo clippy -- -D warnings
working-directory: ${{ github.workspace }}

- name: Run tests
Expand Down

0 comments on commit 194b4dd

Please sign in to comment.