Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CA-MKSingh authored Oct 6, 2024
1 parent e8e2481 commit 758aa0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- name: Build the project for ${{ matrix.os }} and ${{ matrix.arch }}
if: runner.os == 'Linux'
run: |
docker run --rm -v "$(pwd)":/app -w /app rust:latest-alpine cargo build --release --verbose
docker run --rm -v "$(pwd)":/app -w /app rust:latest cargo build --release --verbose
- name: Run tests for ${{ matrix.os }} and ${{ matrix.arch }}
if: runner.os == 'Linux'
run: |
docker run --rm -v "$(pwd)":/app -w /app rust:latest-alpine cargo test --verbose
docker run --rm -v "$(pwd)":/app -w /app rust:latest cargo test --verbose
# Native Rust build for macOS and Windows
- name: Build project (non-Linux)
Expand Down

0 comments on commit 758aa0c

Please sign in to comment.