Skip to content

Move to tower-sessions #205

Move to tower-sessions

Move to tower-sessions #205

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
check_msrv:
name: Check MSRV
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.68.0
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
check_fmt:
name: Check code formatting
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install rustfmt
run: rustup component add rustfmt
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check