feat(circleciconfig): update executor images and resource class valid… #4
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: Lint | |
on: [push, pull_request] | |
jobs: | |
lint-editorconfig: | |
runs-on: ubuntu-latest | |
name: Lint for editorconfig violations | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
# Enablement of https://pre-commit.ci is desirable as it also | |
# enable auto-fixes for formatting violations. Still we still want to run | |
# our own GitHub action, just in case the external service becomes | |
# unavailable. | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install pre-commit | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade pre-commit | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files |