Skip to content

Commit

Permalink
Switch from actions-rs/cargo to plain run
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jul 14, 2022
1 parent 6a3aea8 commit 521b881
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
run: cargo build
- name: Test
run: ./ci/test_full.sh

Expand All @@ -39,12 +37,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
# This test crate is intentionally separate, because we need
# independent features for no-std. (rust-lang/cargo#2589)
args: --target thumbv6m-none-eabi --manifest-path ci/check/Cargo.toml
run: cargo build --target thumbv6m-none-eabi --manifest-path ci/check/Cargo.toml
# This test crate is intentionally separate, because we need
# independent features for no-std. (rust-lang/cargo#2589)

fmt:
name: Format
Expand All @@ -57,7 +52,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
run: cargo fmt --all --check
4 changes: 1 addition & 3 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
run: cargo build
- name: Test
run: ./ci/test_full.sh
9 changes: 2 additions & 7 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
run: cargo build
- name: Test
run: ./ci/test_full.sh

Expand All @@ -35,7 +33,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
run: cargo fmt --all --check

0 comments on commit 521b881

Please sign in to comment.