Skip to content

Merge branch 'main' into cruft/cookiecutter-template-773777 #159

Merge branch 'main' into cruft/cookiecutter-template-773777

Merge branch 'main' into cruft/cookiecutter-template-773777 #159

Workflow file for this run

name: Linting
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache environment
uses: actions/cache@v4
env:
cache-name: cache-environment
with:
path: node_modules
key: ${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ env.cache-name }}-
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install requirements
run: make install
- name: Run linters
run: make linter