Skip to content

Commit a621d7c

Browse files
Merge pull request #38 from CrackingShells/dev
v0.6.3
2 parents 3259d51 + fb3f979 commit a621d7c

File tree

105 files changed

+12981
-1011
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+12981
-1011
lines changed

.commitlintrc.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"type-enum": [
5+
2,
6+
"always",
7+
[
8+
"build",
9+
"chore",
10+
"ci",
11+
"docs",
12+
"feat",
13+
"fix",
14+
"perf",
15+
"refactor",
16+
"revert",
17+
"style",
18+
"test"
19+
]
20+
],
21+
"subject-case": [2, "never", ["start-case", "pascal-case", "upper-case"]],
22+
"subject-empty": [2, "never"],
23+
"subject-full-stop": [2, "never", "."],
24+
"header-max-length": [2, "always", 72],
25+
"body-max-line-length": [2, "always", 500]
26+
}
27+
}

.github/workflows/commit_version_tag.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/commitlint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Commit Lint
2+
3+
on:
4+
pull_request:
5+
branches: [main, dev]
6+
7+
jobs:
8+
commitlint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: "lts/*"
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Validate PR commits with commitlint
25+
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Semantic Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Setup Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.12'
22+
23+
- name: Install Python dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -e .
27+
28+
- name: Run tests
29+
run: |
30+
python -c "import hatch; print('Hatch package imports successfully')"
31+
32+
release:
33+
needs: test
34+
runs-on: ubuntu-latest
35+
if: github.event_name == 'push'
36+
steps:
37+
- name: Generate GitHub App Token
38+
id: generate_token
39+
uses: tibdex/github-app-token@v2
40+
with:
41+
app_id: ${{ secrets.SEMANTIC_RELEASE_APP_ID }}
42+
private_key: ${{ secrets.SEMANTIC_RELEASE_PRIVATE_KEY }}
43+
44+
- name: Checkout
45+
uses: actions/checkout@v4
46+
with:
47+
fetch-depth: 0
48+
token: ${{ steps.generate_token.outputs.token }}
49+
50+
- name: Setup Node.js
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: "lts/*"
54+
55+
- name: Install Node dependencies
56+
run: npm ci
57+
58+
- name: Verify npm audit
59+
run: npm audit signatures
60+
61+
- name: Release
62+
env:
63+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
64+
run: npx semantic-release

.github/workflows/tag-cleanup.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/tag-release.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/test_build.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,12 @@ cython_debug/
176176

177177
# PyPI configuration file
178178
.pypirc
179+
180+
# Node.js dependencies for semantic-release
181+
node_modules/
182+
npm-debug.log*
183+
yarn-debug.log*
184+
yarn-error.log*
185+
186+
# Semantic-release
187+
.semantic-release/

.readthedocs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version, and other tools you might need
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.13"
12+
13+
# Build documentation with Mkdocs
14+
mkdocs:
15+
configuration: mkdocs.yml
16+
17+
# Optionally, but recommended,
18+
# declare the Python requirements required to build your documentation
19+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)