This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
Bump copyright year #105
Workflow file for this run
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: [pull_request, push] # yamllint disable-line | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Lint C source | |
run: | | |
sudo apt-get -y install clang-format | |
bash lint-c.sh | |
- name: Lint shell scripts | |
run: bash lint-shell.sh | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry --version | |
- name: Install dependencies | |
run: poetry install --no-interaction | |
- name: Lint Python files | |
run: poetry run ./lint-python.sh | |
- name: Lint YAML files | |
run: poetry run ./lint-yaml.sh |