Pre commit checks for sigopt/sigopt-config@refs/heads/pre-commit-ci-update-config #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit | |
run-name: Pre commit checks for ${{ github.repository }}@${{ github.ref }} | |
on: | |
push: {} | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: npm install | |
- run: pip install pre-commit | |
- run: pre-commit run eslint --all-files | |
pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: sudo pip install --upgrade pip setuptools | |
- run: pip install . -r requirements-dev.txt | |
- run: pre-commit run pylint --all-files |