Skip to content

Merge pull request #53 from erlend-aasland/nikola-8.3.1 #61

Merge pull request #53 from erlend-aasland/nikola-8.3.1

Merge pull request #53 from erlend-aasland/nikola-8.3.1 #61

Workflow file for this run

name: Code Formatting Check
on:
push:
pull_request:
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- uses: actions/cache@v2
name: Configure npm caching
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/prettier.yml') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Run prettier
run: |-
npx prettier --check .
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "."