-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade deps * Update depandabot * Update CI * Ignore test that fails on CI * Use rustls for reqwest
- Loading branch information
1 parent
9eeebb3
commit 09a47eb
Showing
13 changed files
with
787 additions
and
454 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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: "/" | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 10 | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: "/" | ||
schedule: | ||
interval: monthly | ||
groups: | ||
default: | ||
patterns: | ||
- "*" | ||
open-pull-requests-limit: 10 |
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 |
---|---|---|
@@ -1,75 +1,75 @@ | ||
name: CI | ||
'on': | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-lint-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Install Toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
components: clippy, rustfmt | ||
|
||
- name: Check Fmt | ||
run: cargo fmt --all -- --check --color always | ||
|
||
- name: Check Clippy | ||
run: cargo clippy --tests --all -- -D warnings | ||
|
||
deny: | ||
name: Deny | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Deny | ||
uses: EmbarkStudios/cargo-deny-action@v1 | ||
|
||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-build-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Install Toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
|
||
- name: Build | ||
run: cargo build --all --verbose | ||
|
||
- name: Tests | ||
name: CI | ||
'on': | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-lint-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Install Toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
components: clippy, rustfmt | ||
|
||
- name: Check Fmt | ||
run: cargo fmt --all -- --check --color always | ||
|
||
- name: Check Clippy | ||
run: cargo clippy --tests --all -- -D warnings | ||
|
||
deny: | ||
name: Deny | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Deny | ||
uses: EmbarkStudios/cargo-deny-action@v1 | ||
|
||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: ${{ runner.os }}-build-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Install Toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
|
||
- name: Build | ||
run: cargo build --all --verbose | ||
|
||
- name: Tests | ||
run: cargo test --all --verbose |
Oops, something went wrong.