-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7baf373
commit d331f0b
Showing
7 changed files
with
140 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,32 +2,35 @@ name: Rust | |
|
||
on: | ||
push: | ||
branches: [ "release" ] | ||
branches: ["release"] | ||
pull_request: | ||
branches: [ "release" ] | ||
branches: ["release"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Rust Toolchain for GitHub CI | ||
uses: actions-rust-lang/[email protected] | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Run clippy | ||
run: cargo clippy --all-features --all-targets -- -D warnings | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- name: toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: clippy | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Run clippy | ||
run: cargo clippy --all-features --all-targets -- -D warnings | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
|
||
- name: publish crates | ||
uses: katyo/publish-crates@v2 | ||
with: | ||
# Cargo registry token | ||
registry-token: ${{secrets.crates_io}} | ||
- name: publish crates | ||
uses: katyo/publish-crates@v2 | ||
with: | ||
# Cargo registry token | ||
registry-token: ${{secrets.crates_io}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,27 +2,30 @@ name: Rust | |
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
branches: ["dev"] | ||
pull_request: | ||
branches: [ "dev" ] | ||
branches: ["dev"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Rust Toolchain for GitHub CI | ||
uses: actions-rust-lang/[email protected] | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Run clippy | ||
run: cargo clippy --all-features --all-targets -- -D warnings | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- name: toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: clippy | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Run clippy | ||
run: cargo clippy --all-features --all-targets -- -D warnings | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|