Skip to content

chore(deps): bump Swatinem/rust-cache from 2.6.0 to 2.6.2 (#17) #18

chore(deps): bump Swatinem/rust-cache from 2.6.0 to 2.6.2 (#17)

chore(deps): bump Swatinem/rust-cache from 2.6.0 to 2.6.2 (#17) #18

Workflow file for this run

name: Main
on:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
main:
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
packages: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Installing Rust Toolchain
with:
profile: default
toolchain: stable
override: true
components: rustfmt, clippy
target: thumbv7em-none-eabi
- name: Rust Cache
uses: Swatinem/rust-cache@v2.6.2
- uses: actions-rs/cargo@v1
name: Cargo fmt
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
name: Cargo clippy
with:
command: clippy
args: --release -- -D warnings
- uses: actions-rs/cargo@v1
name: Cargo Build
with:
command: build
args: --release
- uses: actions-rs/cargo@v1
name: Cargo Build Examples
with:
command: build
args: --examples --target thumbv7em-none-eabi
- uses: google-github-actions/release-please-action@v3
name: Release
id: release
with:
release-type: rust
package-name: iis2mdc