Skip to content

build(deps): update iced requirement from =0.10.0 to =0.12.0 #645

build(deps): update iced requirement from =0.10.0 to =0.12.0

build(deps): update iced requirement from =0.10.0 to =0.12.0 #645

Workflow file for this run

name: Rust
on:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libclang
run: sudo apt-get update && sudo apt-get install -y libclang-dev
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-features -- -D warnings