Skip to content

Merge pull request #296 from WentseChen/crafter #597

Merge pull request #296 from WentseChen/crafter

Merge pull request #296 from WentseChen/crafter #597

Workflow file for this run

# This workflow will check flake style
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: style_check
on: [push, pull_request]
jobs:
style_check:
# Skip CI if [ci skip] in the commit message
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install test packages
run: |
python -m pip install --upgrade pip
python -m pip install "ruff"
- name: Lint with ruff
run: |
make lint