Skip to content

Bump tokio from 1.2.0 to 1.16.1 #110

Bump tokio from 1.2.0 to 1.16.1

Bump tokio from 1.2.0 to 1.16.1 #110

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libpulse-dev libopus-dev libmp3lame-dev
- name: build
run: cargo build
- name: lint
run: cargo clippy -- -D warnings
- name: rustfmt
run: cargo fmt -- --check
- name: test
run: cargo test
- name: doc
run: cargo doc
nix:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: /nix
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: samueldr/action-nix-build@master