Skip to content

Bump tokio from 1.34.0 to 1.36.0 #348

Bump tokio from 1.34.0 to 1.36.0

Bump tokio from 1.34.0 to 1.36.0 #348

Workflow file for this run

name: Rust
'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: RustFmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --tests --all --all-features -- -D warnings
deny:
name: Deny
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deny
uses: EmbarkStudios/[email protected]
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- 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: Build
run: cargo build --verbose --all
- name: Run Tests
env:
SAUCE_NAO_API_KEY: ${{ secrets.SAUCE_NAO_API_KEY }}
run: cargo test --all --verbose