File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 19
19
- uses : actions/checkout@v2
20
20
- name : Build
21
21
run : cargo build --verbose
22
+ working-directory : merge-rs
22
23
- name : Run tests
23
24
run : cargo test --verbose
25
+ working-directory : merge-rs
24
26
- name : Run clippy
25
27
run : cargo clippy --all-targets --all-features -- -D warnings
28
+ working-directory : merge-rs
26
29
- name : Run audit
27
30
run : cargo audit --deny warnings --deny unmaintained --deny unsound --deny yanked
31
+ working-directory : merge-rs
Original file line number Diff line number Diff line change 14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
- uses : dtolnay/rust-toolchain@stable
17
- - run : cargo package
17
+ - run : cargo package --locked
18
18
working-directory : merge-rs
19
19
- uses : taiki-e/create-gh-release-action@v1
20
20
with :
23
23
branch : main
24
24
env :
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ - run : cargo publish --locked
27
+ working-directory : merge-rs
28
+ env :
29
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# Generated by Cargo
2
2
# will have compiled files and executables
3
- / target /
3
+ target /
4
4
5
5
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
6
6
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
name = " merge-rs"
3
3
description = " A small library that cuts down on the amount of code required to merge two arbitrary structs into a new struct."
4
4
repository = " https://github.com/dhable/merge-rs"
5
- version = " 0.1.2 "
5
+ version = " 0.2.0 "
6
6
edition = " 2021"
7
7
rust-version = " 1.58.1"
8
8
license = " MIT"
You can’t perform that action at this time.
0 commit comments