mirror of
https://github.com/TECHNOFAB11/bump2version.git
synced 2025-12-12 08:00:09 +01:00
should bump to version specified by --new-version if present (#3)
* update Cargo.lock * better error message when failed to get current version from config * should bump to version specified by --new-version if present * fix: update docs && add CI --------- Co-authored-by: 莫仲华 <mozhonghua@qiyi.com>
This commit is contained in:
parent
2b75ff6ce4
commit
017a228f6b
7 changed files with 99 additions and 57 deletions
28
.github/workflows/rustfmt.yml
vendored
Executable file
28
.github/workflows/rustfmt.yml
vendored
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
name: Rust Format Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
|
||||
- name: Run rustfmt
|
||||
run: cargo fmt -- --check
|
||||
Loading…
Add table
Add a link
Reference in a new issue