Skip to content

Commit

Permalink
Upgrade deps (#322)
Browse files Browse the repository at this point in the history
* Upgrade deps

* Update depandabot

* Update CI

* Ignore test that fails on CI

* Use rustls for reqwest
  • Loading branch information
adumbidiot authored Aug 16, 2024
1 parent 9eeebb3 commit 09a47eb
Show file tree
Hide file tree
Showing 13 changed files with 787 additions and 454 deletions.
18 changes: 11 additions & 7 deletions .github/dependabot.yml
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
148 changes: 74 additions & 74 deletions .github/workflows/CI.yaml
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
Loading

0 comments on commit 09a47eb

Please sign in to comment.