👷🏻 ci: Bump github/codeql-action from 3.28.1 to 3.28.2 #42
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: Format Pipeline | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
types: [opened, synchronize] | |
permissions: | |
contents: write | |
jobs: | |
format: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.13] | |
name: Format Pipeline - Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
timeout-minutes: 5 | |
steps: | |
- name: 📥 Checkout the repository | |
uses: actions/checkout@v4.2.2 | |
- name: 🐍 Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5.3.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- id: cache | |
name: 📦 Create cache | |
uses: actions/cache@v4.2.0 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml', 'requirements*') }} | |
restore-keys: ${{ matrix.os }}-python-${{ matrix.python-version }}- | |
- name: 📦 Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: make install-dev | |
- name: 🏃 Run Formatter | |
run: make format | |
- name: 📤 Commit & Push Changes | |
uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
add: . | |
message: '🔨 refactor: run automatic formatter' | |
commit: --signoff | |
default_author: github_actions |