Skip to content

Update branch from master to main #66

Update branch from master to main

Update branch from master to main #66

Workflow file for this run

on:
push:
branches: [main]
pull_request:
name: CI
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
name: "Build"
with:
command: build
- uses: actions-rs/cargo@v1
name: "cargo fmt"
with:
command: fmt
args: -- --check
python-lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Check lints
run: pylint doc_aliases.py