Skip to content

Commit

Permalink
ci: 🤖 Change to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
frack113 committed Feb 25, 2025
1 parent 8d3825b commit 0123432
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,30 @@ jobs:
name: Check YAML formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
enable-cache: true
- name: Create requirements file for setup-python
run: touch ./requirements.txt
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: pip
- name: Install yamlfix
run: pip install yamlfix
run: uv pip install yamlfix
- name: Check YAML formatting
run: yamlfix -v --check .
mdformat:
name: Check Markdown formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create requirements file for setup-python
run: touch ./requirements.txt
- name: Install Python
uses: actions/setup-python@v5
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.13'
cache: pip
python-version: "3.12"
enable-cache: true
- name: Install Mdformat
run: pip install mdformat
run: uv pip install mdformat
- name: Check Markdown formatting
run: mdformat --check .
rustfmt:
Expand Down

0 comments on commit 0123432

Please sign in to comment.