Update pre-commit hook charliermarsh/ruff-pre-commit to v0.3.1 #154
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
# SPDX-FileCopyrightText: Contributors to the Fedora Project | |
# | |
# SPDX-License-Identifier: MIT | |
name: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Mark the directory as safe for git | |
run: git config --global --add safe.directory $PWD | |
- name: Install RPM dependencies | |
run: | | |
dnf install -y krb5-devel | |
- name: Install base Python dependencies | |
run: | | |
python3 -m pip install --upgrade tox | |
- name: execute tox | |
run: tox |