Skip to content

Commit

Permalink
Fix cargo fmt action
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Weiden committed Feb 15, 2024
1 parent e3d663a commit 2e2252e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cargo_fmt.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
on: [push]

name: build
name: Cargo

jobs:
check:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -18,4 +18,4 @@ jobs:
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
command: fmt --check
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shellyplug-exporter-rs"
version = "0.1.1"
version = "0.1.2"
edition = "2021"

[profile.release]
Expand Down

0 comments on commit 2e2252e

Please sign in to comment.