0
0
Fork 0
mirror of https://github.com/actions-rs/cargo.git synced 2025-05-03 17:19:22 +03:00

Update README.md

This commit is contained in:
Rin Arakaki 2023-02-13 02:28:26 +09:00 committed by GitHub
parent bedb735e9a
commit cfd3086a16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,19 +23,17 @@ command on a Rust language project.
```yaml
on: [push]
name: CI
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: synthet-ic/action-rustup@main
with:
toolchain: stable
- uses: actions-rs/cargo@v1
- uses: synthet-ic/action-cargo@main
with:
command: build
args: --release --all-features
@ -55,8 +53,8 @@ jobs:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: synthet-ic/action-rustup@main
with:
toolchain: stable
- run: cargo build --release --all-features
@ -104,13 +102,13 @@ jobs:
name: Linux ARMv7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: synthet-ic/action-rustup@main
with:
toolchain: stable
target: armv7-unknown-linux-gnueabihf
override: true
- uses: actions-rs/cargo@v1
- uses: synthet-ic/action-cargo@main
with:
use-cross: true
command: build