Skip to content

Update CI #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .github/actions/setup-python-with-uv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,11 @@ runs:
using: composite
steps:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
shell: bash

- name: Pin Python Version
run: |
export PYTHONUNBUFFERED=True
uv python pin ${{ inputs.python-version }}
shell: bash

- uses: actions/cache@v4
id: cache-uv
uses: astral-sh/setup-uv@v4
with:
path: ~/.cache/uv
key: ${{ runner.os }}-python-${{ inputs.python-version }}-uv
enable-cache: true
python-version: ${{ inputs.python-version }}

- name: Install Dependencies
run: uv sync
run: uv sync --frozen
shell: bash
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updates:
schedule:
interval: daily
commit-message:
prefix: "chore(rye)"
prefix: "chore(uv)"

- package-ecosystem: github-actions
directory: /
Expand Down
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ repos:
language: system
types: ["dockerfile"]
entry: hadolint

ci:
autoupdate_schedule: weekly
Loading