Skip to content

Merge pull request #180 from CrabeDeFrance/feature-hide-login-registe… #216

Merge pull request #180 from CrabeDeFrance/feature-hide-login-registe…

Merge pull request #180 from CrabeDeFrance/feature-hide-login-registe… #216

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