From bee29a4a8fc2ce002230d2d87adf89702c512049 Mon Sep 17 00:00:00 2001 From: a5chin Date: Mon, 9 Dec 2024 13:26:39 +0000 Subject: [PATCH 1/4] add: pre-commit ci --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58a6d66..5e62713 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,3 +29,6 @@ repos: language: system types: ["dockerfile"] entry: hadolint + +ci: + autoupdate_schedule: weekly From 780fc6a2ffd24ce8ade8c37fed8c85232869ec52 Mon Sep 17 00:00:00 2001 From: a5chin Date: Mon, 9 Dec 2024 13:28:24 +0000 Subject: [PATCH 2/4] fix: setup-python-with-uv --- .../actions/setup-python-with-uv/action.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/actions/setup-python-with-uv/action.yml b/.github/actions/setup-python-with-uv/action.yml index c572d26..5021da2 100644 --- a/.github/actions/setup-python-with-uv/action.yml +++ b/.github/actions/setup-python-with-uv/action.yml @@ -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 From 3f5dc82a4751bfca9979e4512d97a6ddff702e70 Mon Sep 17 00:00:00 2001 From: a5chin Date: Mon, 9 Dec 2024 13:31:57 +0000 Subject: [PATCH 3/4] fix: prefix in dependabot.yml --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 76874ea..ed30446 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,7 +6,7 @@ updates: schedule: interval: daily commit-message: - prefix: "chore(rye)" + prefix: "chore(uv)" - package-ecosystem: github-actions directory: / From ac2b25b201de89cbb99f3d771a319557ec104072 Mon Sep 17 00:00:00 2001 From: a5chin Date: Mon, 9 Dec 2024 13:51:02 +0000 Subject: [PATCH 4/4] update: .gitignore --- .gitignore | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitignore b/.gitignore index 3b61d23..5eaa3a9 100644 --- a/.gitignore +++ b/.gitignore @@ -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]