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 84c0d53 commit d8be541
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 63 deletions.
57 changes: 0 additions & 57 deletions .github/actions/setup-builder/action.yaml

This file was deleted.

25 changes: 19 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,29 @@ on:
workflow_dispatch:

jobs:
# Check crate compiles
linux-build-lib:
name: cargo check
runs-on: ubuntu-latest
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: Check workspace in debug mode
run: cargo check

# test the crate
linux-test:
name: cargo test (amd64)
runs-on: ubuntu-latest
# container:
# image: amd64/rust
steps:
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -49,8 +66,6 @@ jobs:
linux-test-example:
name: cargo examples (amd64)
runs-on: ubuntu-latest
# container:
# image: amd64/rust
steps:
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -110,8 +125,6 @@ jobs:
clippy:
name: clippy
runs-on: ubuntu-latest
# container:
# image: amd64/rust
steps:
- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit d8be541

Please sign in to comment.