Skip to content

fix: add custom Makefile stage to install deps #284

fix: add custom Makefile stage to install deps

fix: add custom Makefile stage to install deps #284

Workflow file for this run

---
name: CI
'on':
push:
branches:
- main
tags:
- '**'
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- uses: actions/cache@v3.3.2
with:
path: ~/.cache/pip
key: "${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}"
restore-keys: ${{ runner.os }}-pip
- name: setup latest node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: actions/cache@v3.3.2
with:
path: ~/.npm
key: "${{ runner.os }}-npm"
- name: install dependencies
run: |
sudo apt-get install shellcheck
make install
npm install --global markdownlint-cli
- name: lint files
run: make lint
- name: lint commit messages
uses: wagoid/commitlint-github-action@v5.4.3
with:
failOnWarnings: true