Skip to content

Ver 0.1.0

Ver 0.1.0 #9

Workflow file for this run

name: Rust
on:
push:
branches:
- master
pull_request:
env:
CARGO_INCREMENTAL: 0
# Copyright (c) 2021 sksat
# https://github.com/sksat/action-clippy
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
submodules: recursive

Check failure on line 19 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 19, Col: 9): Unexpected value 'submodules'
- name: install clippy
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable #Rustup toolchain specifier e.g. stable, nightly, 1.42.0, nightly-2022-01-01.
target: riscv64imac-unknown-none-elf #Comma-separated string of additional targets to install e.g. wasm32-unknown-unknown
components: clippy, rustfmt
- uses: sksat/[email protected]
if: github.event_name == 'push'
with:
reporter: github-check
- uses: sksat/[email protected]
if: github.event_name == 'pull_request'
with:
reporter: github-pr-review
- name: format check
run: cargo fmt --all -- --check
# no crate for test in no_std
#- name: unit test
# run: cargo test