Skip to content

Commit

Permalink
debug github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangzhx committed Aug 2, 2023
1 parent 17209a8 commit 19ea51d
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,9 @@ on:
workflow_dispatch:

jobs:
# Check crate compiles
linux-build-lib:
name: cargo check
runs-on: ubuntu-latest
# container:
# image: amd64/rust
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/checkout@v3
- name: Cache Cargo
uses: actions/cache@v3
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: /github/home/.cargo
key: cargo-cache-
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
with:
rust-version: stable
- name: Check workspace in debug mode
run: cargo check

# test the crate
linux-test:
name: cargo test (amd64)
needs: [ linux-build-lib ]
runs-on: ubuntu-latest
# container:
# image: amd64/rust
Expand Down Expand Up @@ -78,7 +52,6 @@ jobs:

linux-test-example:
name: cargo examples (amd64)
needs: [ linux-build-lib ]
runs-on: ubuntu-latest
# container:
# image: amd64/rust
Expand Down Expand Up @@ -118,7 +91,6 @@ jobs:

cargo-toml-formatting-checks:
name: check Cargo.toml formatting
needs: [ linux-build-lib ]
runs-on: ubuntu-latest
# container:
# image: amd64/rust
Expand Down Expand Up @@ -153,7 +125,6 @@ jobs:
clippy:
name: clippy
needs: [ linux-build-lib ]
runs-on: ubuntu-latest
# container:
# image: amd64/rust
Expand Down

0 comments on commit 19ea51d

Please sign in to comment.