File tree Expand file tree Collapse file tree 15 files changed +422
-137
lines changed Expand file tree Collapse file tree 15 files changed +422
-137
lines changed Original file line number Diff line number Diff line change
1
+ name : 🔨 Build
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : ["main", "develop"]
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ build :
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest, windows-latest, macos-latest]
16
+ toolchain : [stable, beta, nightly]
17
+ name : 🔨 Build release
18
+ runs-on : ${{ matrix.os }}
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Install latest ${{ matrix.toolchain }}
22
+ uses : actions-rs/toolchain@v1
23
+ with :
24
+ toolchain : ${{ matrix.toolchain }}
25
+ - uses : actions/cache@v3
26
+ with :
27
+ path : |
28
+ ~/.cargo/bin/
29
+ ~/.cargo/registry/index/
30
+ ~/.cargo/registry/cache/
31
+ ~/.cargo/git/db/
32
+ target/
33
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
34
+ - name : Build release
35
+ run : cargo build --release
36
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : 📄 Build docs
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : ["main", "develop"]
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ docs :
13
+ name : 📄 Build docs
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Build docs
18
+ run : cargo doc --verbose
Original file line number Diff line number Diff line change
1
+ name : 👔 Check formatting
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : ["main", "develop"]
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ check_format :
13
+ name : 👔 Check formatting
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Check Formatting
18
+ run : cargo fmt -- --verbose --check --color auto
19
+
Original file line number Diff line number Diff line change
1
+ name : 🖋 Check linting
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : ["main", "develop"]
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ check_lint_rust :
13
+ name : 🖋 Check linting
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Check linting
18
+ run : |
19
+ rustup component add clippy
20
+ set env RUSTFLAGS="-Dwarnings"
21
+ cargo clippy --workspace -- -D warnings
22
+ check_lint_markdown :
23
+ name : 🖋 Check markdown files
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Check out code
27
+ uses : actions/checkout@v2
28
+ - name : Markdown Linting Action
29
+ uses : avto-dev/markdown-lint@v1.5.0
30
+ with :
31
+ args : " *.md"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : 📦 Package
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : ["main", "develop"]
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ license :
13
+ name : 🏫 License check
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Check license
18
+ run : |
19
+ cargo install cargo-deny
20
+ cargo deny check
21
+
22
+ cargo_check :
23
+ name : 📦 Check package integrity
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ - name : Check package integrity
28
+ run : cargo package --verbose
29
+
30
+ publish_dry_run :
31
+ name : 📢 Publish dry-run
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - uses : actions/checkout@v2
35
+ - name : Publish dry run
36
+ run : cargo publish --dry-run --verbose
Original file line number Diff line number Diff line change
1
+ name : 🧪 Tests
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : ["main", "develop"]
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ test :
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest, windows-latest, macos-latest]
16
+ toolchain : [stable, beta, nightly]
17
+ name : 🧪 Run tests
18
+ runs-on : ${{ matrix.os }}
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Install latest ${{ matrix.toolchain }}
22
+ uses : actions-rs/toolchain@v1
23
+ with :
24
+ toolchain : ${{ matrix.toolchain }}
25
+ - uses : actions/checkout@v2
26
+ - name : Run tests
27
+ run : cargo test --verbose
28
+
Original file line number Diff line number Diff line change
1
+ max_width = 88
Original file line number Diff line number Diff line change 3
3
4
4
# Changelog
5
5
6
- All notable changes to this project will be documented in this file.
6
+ <!-- All notable changes to this project will be documented in this file.
7
+ The format is based on :
7
8
8
- The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
9
- and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
9
+ * [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
+ and this project adheres to:
11
+ * [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -->
12
+
13
+ ## Unreleased
10
14
11
15
## [ 0.0.1] - 2022-09-03
12
16
13
17
### Added
14
18
15
- - Created Baseline Project
19
+ * Created Baseline Project
You can’t perform that action at this time.
0 commit comments