-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
504: Merge master into 0.8.x r=kinggoesgaming a=KodrAus This PR merges the current `master` branch into `0.8.x` along with a new commit that reverts the breaking change to `from_guid`. I'll give the diff another look over, but this should let us push a new `0.8.x` release with the last year's worth of effort. Closes: - #475 Co-authored-by: Hunar Roop Kahlon <[email protected]> Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Jason Nader <[email protected]>
- Loading branch information
Showing
20 changed files
with
661 additions
and
369 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 |
---|---|---|
@@ -0,0 +1,159 @@ | ||
name: Continuous integration | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
os_tests: | ||
name: "Tests/OS: ${{ matrix.os }} - ${{ matrix.channel }}-${{ matrix.rust_target }}" | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
exclude: | ||
- os: macos-10.15 | ||
rust_target: x86_64-gnu | ||
- os: macos-10.15 | ||
rust_target: x86_64-msvc | ||
- os: windows-2019 | ||
rust_target: x86_64-apple-darwin | ||
- os: ubuntu-20.04 | ||
rust_target: x86_64-msvc | ||
- os: ubuntu-20.04 | ||
rust_target: x86_64-apple-darwin | ||
channel: | ||
- stable | ||
- beta | ||
- nightly | ||
- 1.34.0 | ||
os: | ||
- macos-10.15 | ||
- windows-2019 | ||
- ubuntu-20.04 | ||
rust_target: | ||
- x86_64-gnu | ||
- x86_64-msvc | ||
- x86_64-apple-darwin | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
override: true | ||
profile: minimal | ||
toolchain: ${{ matrix.channel }}-${{ matrix.rust_target }} | ||
|
||
- name: Build with --no-default-features | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --no-default-features | ||
- name: Test with --no-default-features | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --no-default-features | ||
|
||
- name: Build with --all-features | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --all-features | ||
- name: Test with --all-features | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --all-features | ||
|
||
- name: Build with default features | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
- name: Test with default features | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
|
||
- name: Build with --features guid | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features guid | ||
- name: Test with --features guid | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features guid | ||
|
||
- name: Build with --features serde | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features serde | ||
- name: Test with --features serde | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features serde | ||
|
||
- name: Build with --features slog | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features slog | ||
- name: Test with --features slog | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features slog | ||
|
||
- name: Build with --features v1 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features v1 | ||
- name: Test with --features serde | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features v1 | ||
|
||
- name: Build with --features v3 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features v3 | ||
- name: Test with --features v3 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features v3 | ||
|
||
- name: Build with --features v4 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features v4 | ||
- name: Test with --features v4 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features v4 | ||
|
||
- name: Build with --features v5 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --features v5 | ||
- name: Test with --features v5 | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features v5 |
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,41 @@ | ||
name: Clippy | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux-clippy: | ||
name: Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Install Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
components: clippy | ||
override: true | ||
profile: minimal | ||
toolchain: 1.34.0 | ||
- name: Run `cargo clippy` | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: --features "serde slog std v1 v3 v4 v5" -- -D warnings | ||
windows-clippy: | ||
name: Windows | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Install Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
components: clippy | ||
override: true | ||
profile: minimal | ||
toolchain: 1.34.0 | ||
- name: Run `cargo clippy` | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: --features "guid serde slog std v1 v3 v4 v5" -- -D warnings |
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,22 @@ | ||
name: Format Check | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
fmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Install Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
components: rustfmt | ||
override: true | ||
profile: minimal | ||
toolchain: 1.34.0 | ||
- name: Run `cargo fmt` | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check |
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
Oops, something went wrong.