Skip to content

fix typo in workflow #2

fix typo in workflow

fix typo in workflow #2

Workflow file for this run

name: Rust CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- icns-rs/**
push: null
workflow_dispatch: null
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Change Working Directory
run: cd icns-rs
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Change Working Directory
run: cd icns-rs
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: "-- --check"
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy
- name: Change Working Directory
run: cd icns-rs
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: "-- -D warnings"