Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.7.3 #469

chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.7.3

chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.7.3 #469

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
run-pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- run: uv tool run --from pre-commit@latest --with pre-commit-uv --no-cache --python 3.12 pre-commit run --all-files
build:
strategy:
matrix:
include:
- name: linux-x86-64
runner: ubuntu-latest
- name: windows-x86-64
runner: windows-latest
- name: macos-x86-64
runner: macos-13
- name: macos-arm64
runner: macos-14
fail-fast: false
runs-on: ${{ matrix.runner }}
permissions:
id-token: write
attestations: write
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- uses: actions/setup-python@v5
with:
python-version: "3.12"
check-latest: true
- run: uv run --extra non-termux --no-dev --group nuitka --frozen --python 3.12 python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads --lto=yes vk_markovify_chatbot
- run: mv config.toml vk_markovify_chatbot.dist/
- if: ${{ github.event_name != 'pull_request' }}
uses: actions/attest-build-provenance@v1
with:
subject-path: vk_markovify_chatbot.dist
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.name }}
path: vk_markovify_chatbot.dist/
if-no-files-found: error