Skip to content

47 add python313 for tests #126

47 add python313 for tests

47 add python313 for tests #126

Workflow file for this run

---
name: lint
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
strategy:
matrix:
linter: ["bandit", "djlint", "mypy", "yamllint", "ruff", "hadolint"]
env:
TASK_VERSION: 3.40.0
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install Dependencies
run: |
wget https://github.com/go-task/task/releases/download/v$TASK_VERSION/task_linux_amd64.deb
sudo dpkg -i task_linux_amd64.deb
pip install poetry
task bootstrap
- name: Run linter ${{ matrix.linter }}
run: task lint:${{ matrix.linter }}