Skip to content

Commit

Permalink
New gca
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Jan 6, 2025
1 parent 11f39aa commit 0c6345a
Show file tree
Hide file tree
Showing 127 changed files with 2,353 additions and 11,150 deletions.
7 changes: 0 additions & 7 deletions .deepsource.toml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/deploys.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# publish.yml

name: "Publish"

on:
release:
types: ["published"]

jobs:
run:
name: "Build and publish release"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: uv.lock

- name: Set up Python
run: uv python install 3.12 # Or whatever version I want to use.

- name: Build
run: uv build

- name: Publish
run: uv publish -t ${{ secrets.PYPI_TOKEN }}
27 changes: 0 additions & 27 deletions .github/workflows/refactor.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/release_generation.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/requirement_controller.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/run_uv_commands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Run UV Commands on Commit

on:
push:
branches:
- '**'

jobs:
run-uv-commands:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Install UV
run: |
pip install uv
- name: Run UV Sync
run: |
uv sync
- name: Run Tools Server
run: |
uv run run_tools_server.py
- name: Run Main Server
run: |
uv run run_main_server.py
- name: Run Pre-commit
run: |
uvx pre-commit run
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
KOT-*


.DS_Store

*.mp3
Expand Down Expand Up @@ -175,4 +176,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
.idea/
Loading

0 comments on commit 0c6345a

Please sign in to comment.