diff --git a/.github/workflows/convco.yml b/.github/workflows/convco.yml index 13925d3..a9f33b9 100644 --- a/.github/workflows/convco.yml +++ b/.github/workflows/convco.yml @@ -10,4 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: webiny/action-conventional-commits@v1.1.0 \ No newline at end of file + - uses: taskmedia/action-conventional-commits@v1.1.4 + with: + types: "feat|fix|build|chore|ci|docs|style|refactor|perf|test" \ No newline at end of file diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c5d077f..cb37fda 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,16 +23,22 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Lint check + - name: Install Nightly + run: rustup toolchain install nightly-2023-10-02-x86_64-unknown-linux-gnu + - name: Install Clippy run: rustup component add clippy --toolchain nightly-2023-10-02-x86_64-unknown-linux-gnu + - name: clippy check run: cargo clippy formatting: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Format check + - name: Install Nightly + run: rustup toolchain install nightly-2023-10-02-x86_64-unknown-linux-gnu + - name: Install rustfmt run: rustup component add rustfmt --toolchain nightly-2023-10-02-x86_64-unknown-linux-gnu + - name: Check Formatting run: cargo fmt --all -- --check diff --git a/Cargo.toml b/Cargo.toml index cd589ec..201b072 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,4 @@ embedded-hal-async = { version = "1.0.0-rc.1", optional = true } [features] default = ["async"] async = ["embedded-hal-async"] -blocking = ["embedded-hal"] - - -# just testing \ No newline at end of file +blocking = ["embedded-hal"] \ No newline at end of file