adnus 0.2.2__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. {adnus-0.2.2 → adnus-0.2.4}/.github/dependabot.yml +13 -6
  2. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/ci-cd.yml +6 -3
  3. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/codeql.yml +7 -3
  4. adnus-0.2.4/.github/workflows/conda-publish.yml +203 -0
  5. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/jekyll-gh-pages.yml +6 -3
  6. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/lint.yml +6 -2
  7. adnus-0.2.4/.github/workflows/pixi-workflow.yml +71 -0
  8. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/python-package.yml +4 -4
  9. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/python-publish.yml +6 -3
  10. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/python_ci.yml +7 -3
  11. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/static.yml +6 -6
  12. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/workflow.yml +7 -4
  13. {adnus-0.2.2 → adnus-0.2.4}/.github/workflows/zenodo.yml +5 -1
  14. adnus-0.2.4/.github/workflows/zizmor.yml +50 -0
  15. {adnus-0.2.2 → adnus-0.2.4}/CITATION.cff +2 -2
  16. {adnus-0.2.2 → adnus-0.2.4}/CONTRIBUTING.md +4 -4
  17. {adnus-0.2.2 → adnus-0.2.4}/PKG-INFO +12 -9
  18. {adnus-0.2.2 → adnus-0.2.4}/README.md +9 -6
  19. {adnus-0.2.2/src → adnus-0.2.4}/adnus/__init__.py +3 -3
  20. {adnus-0.2.2/src → adnus-0.2.4}/adnus/_version.py +1 -1
  21. {adnus-0.2.2/src → adnus-0.2.4}/adnus.egg-info/PKG-INFO +12 -9
  22. {adnus-0.2.2/src → adnus-0.2.4}/adnus.egg-info/SOURCES.txt +16 -13
  23. adnus-0.2.4/conda-recipe/meta.yaml +44 -0
  24. adnus-0.2.4/conda_build_config.yaml +2 -0
  25. adnus-0.2.4/docs/adnus.png +0 -0
  26. {adnus-0.2.2 → adnus-0.2.4}/docs/conf.py +4 -4
  27. adnus-0.2.4/docs/favicon.ico +0 -0
  28. {adnus-0.2.2 → adnus-0.2.4}/docs/requirements.txt +1 -1
  29. {adnus-0.2.2 → adnus-0.2.4}/pixi.toml +12 -13
  30. {adnus-0.2.2 → adnus-0.2.4}/pyproject.toml +8 -7
  31. {adnus-0.2.2 → adnus-0.2.4}/recipe.yaml +4 -5
  32. adnus-0.2.4/requirements-dev.txt +1 -0
  33. adnus-0.2.4/requirements.txt +1 -0
  34. adnus-0.2.4/setup.cfg +24 -0
  35. {adnus-0.2.2 → adnus-0.2.4}/setup.py +4 -5
  36. adnus-0.2.4/tox.ini +26 -0
  37. adnus-0.2.4/tox.toml +153 -0
  38. adnus-0.2.2/.github/workflows/conda-publish.yml +0 -90
  39. adnus-0.2.2/conda_build_config.yaml +0 -2
  40. adnus-0.2.2/meta.yaml +0 -43
  41. adnus-0.2.2/package-lock.json +0 -1
  42. adnus-0.2.2/package.json +0 -35
  43. adnus-0.2.2/poetry.lock +0 -308
  44. adnus-0.2.2/recipe/meta.yaml +0 -43
  45. adnus-0.2.2/requirements.txt +0 -1
  46. adnus-0.2.2/setup.cfg +0 -4
  47. {adnus-0.2.2 → adnus-0.2.4}/.gitattributes +0 -0
  48. {adnus-0.2.2 → adnus-0.2.4}/.github/CODEOWNERS +0 -0
  49. {adnus-0.2.2 → adnus-0.2.4}/.gitignore +0 -0
  50. {adnus-0.2.2 → adnus-0.2.4}/.pre-commit-config.yaml +0 -0
  51. {adnus-0.2.2 → adnus-0.2.4}/.readthedocs.yaml +0 -0
  52. {adnus-0.2.2 → adnus-0.2.4}/.ruff.toml +0 -0
  53. {adnus-0.2.2 → adnus-0.2.4}/.zenodo.json +0 -0
  54. {adnus-0.2.2 → adnus-0.2.4}/CODE_OF_CONDUCT.md +0 -0
  55. {adnus-0.2.2 → adnus-0.2.4}/LICENSE +0 -0
  56. {adnus-0.2.2 → adnus-0.2.4}/MANIFEST.in +0 -0
  57. {adnus-0.2.2 → adnus-0.2.4}/SECURITY.md +0 -0
  58. /adnus-0.2.2/src/adnus/main.py → /adnus-0.2.4/adnus/adnus.py +0 -0
  59. {adnus-0.2.2/src → adnus-0.2.4}/adnus.egg-info/dependency_links.txt +0 -0
  60. {adnus-0.2.2/src → adnus-0.2.4}/adnus.egg-info/requires.txt +0 -0
  61. {adnus-0.2.2/src → adnus-0.2.4}/adnus.egg-info/top_level.txt +0 -0
  62. {adnus-0.2.2 → adnus-0.2.4}/docs/index.rst +0 -0
  63. {adnus-0.2.2 → adnus-0.2.4}/notebook/adnus-020.ipynb +0 -0
  64. {adnus-0.2.2 → adnus-0.2.4}/tests/test_adnus.py +0 -0
@@ -5,11 +5,18 @@
5
5
  # Dependabot configuration for automatic dependency updates
6
6
  version: 2
7
7
  updates:
8
- - package-ecosystem: "pip" # Specify package ecosystem (e.g., pip, npm, maven)
9
- directory: "/" # Location of package manifests
8
+ # 1) Python paketleri
9
+ - package-ecosystem: "pip"
10
+ directory: "/"
10
11
  schedule:
11
- interval: "weekly" # Check for updates weekly
12
- open-pull-requests-limit: 10 # Limit the number of open pull requests
12
+ interval: "weekly"
13
+ open-pull-requests-limit: 10
13
14
  ignore:
14
- - dependency-name: "example-package" # Specify dependencies to ignore, if any
15
- versions: ["==1.*"] # Ignore all patch versions of 1.x
15
+ - dependency-name: "example-package"
16
+ versions: ["==1.*"]
17
+
18
+ # 2) GitHub Actions (actions/... ve github/...)
19
+ - package-ecosystem: "github-actions"
20
+ directory: "/"
21
+ schedule:
22
+ interval: "weekly"
@@ -1,4 +1,7 @@
1
1
  name: Publish Python Package to PyPI
2
+ permissions:
3
+ contents: read
4
+ pull-requests: write
2
5
 
3
6
  on:
4
7
  push:
@@ -15,10 +18,10 @@ jobs:
15
18
 
16
19
  steps:
17
20
  - name: Checkout code
18
- uses: actions/checkout@v4
21
+ uses: actions/checkout@v7
19
22
 
20
23
  - name: Set up Python
21
- uses: actions/setup-python@v5
24
+ uses: actions/setup-python@v7
22
25
  with:
23
26
  python-version: '3.x'
24
27
 
@@ -31,5 +34,5 @@ jobs:
31
34
  run: python -m build
32
35
 
33
36
  - name: Publish to PyPI
34
- uses: pypa/gh-action-pypi-publish@v1.13.0
37
+ uses: pypa/gh-action-pypi-publish@v1.14.2
35
38
 
@@ -11,6 +11,10 @@
11
11
  #
12
12
  name: "CodeQL Advanced"
13
13
 
14
+ permissions:
15
+ contents: read
16
+ pull-requests: write
17
+
14
18
  on:
15
19
  push:
16
20
  branches: [ "main" ]
@@ -57,7 +61,7 @@ jobs:
57
61
  # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
58
62
  steps:
59
63
  - name: Checkout repository
60
- uses: actions/checkout@v4
64
+ uses: actions/checkout@v7
61
65
 
62
66
  # Add any setup steps before running the `github/codeql-action/init` action.
63
67
  # This includes steps like installing compilers or runtimes (`actions/setup-node`
@@ -67,7 +71,7 @@ jobs:
67
71
 
68
72
  # Initializes the CodeQL tools for scanning.
69
73
  - name: Initialize CodeQL
70
- uses: github/codeql-action/init@v3
74
+ uses: github/codeql-action/init@v4
71
75
  with:
72
76
  languages: ${{ matrix.language }}
73
77
  build-mode: ${{ matrix.build-mode }}
@@ -95,6 +99,6 @@ jobs:
95
99
  exit 1
96
100
 
97
101
  - name: Perform CodeQL Analysis
98
- uses: github/codeql-action/analyze@v3
102
+ uses: github/codeql-action/analyze@v4
99
103
  with:
100
104
  category: "/language:${{matrix.language}}"
@@ -0,0 +1,203 @@
1
+ name: Conda-Build, Test, and Publish Package
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ release:
6
+ types: [published]
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build-publish:
13
+ runs-on: ubuntu-latest
14
+
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ python-version: ["3.14"]
19
+
20
+ env:
21
+ RECIPE_DIR: conda-recipe
22
+ PACKAGE_DIR: dist
23
+
24
+ steps:
25
+ - name: Checkout repository
26
+ uses: actions/checkout@v7
27
+ with:
28
+ fetch-depth: 0
29
+
30
+ - name: Verify repository layout
31
+ shell: bash
32
+ run: |
33
+ set -euo pipefail
34
+
35
+ echo "Workspace: $GITHUB_WORKSPACE"
36
+ echo "Top-level files:"
37
+ ls -la
38
+
39
+ if [ ! -f "$RECIPE_DIR/meta.yaml" ]; then
40
+ echo "HATA: $RECIPE_DIR/meta.yaml bulunamadı."
41
+ echo "Bulunan Conda/Pixi reçeteleri:"
42
+ find . -type f \
43
+ \( -name "meta.yaml" -o -name "recipe.yaml" \) \
44
+ -not -path "./.git/*" \
45
+ -print
46
+ exit 1
47
+ fi
48
+
49
+ echo "Conda recipe: $RECIPE_DIR/meta.yaml"
50
+ echo "Pixi recipe (varsa):"
51
+ find . -maxdepth 2 -type f -name recipe.yaml -print
52
+
53
+ - name: Determine package version
54
+ id: version
55
+ shell: bash
56
+ run: |
57
+ set -euo pipefail
58
+
59
+ TAG_VERSION="$(git describe --tags --abbrev=0 2>/dev/null || true)"
60
+ if [ -n "$TAG_VERSION" ]; then
61
+ PACKAGE_VERSION="${TAG_VERSION#v}"
62
+ else
63
+ PACKAGE_VERSION="0.0.0.dev$(git rev-parse --short HEAD)"
64
+ fi
65
+
66
+ echo "Package version: $PACKAGE_VERSION"
67
+ echo "version=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT"
68
+
69
+ - name: Setup Miniconda
70
+ uses: conda-incubator/setup-miniconda@v4
71
+ with:
72
+ auto-activate-base: false
73
+ python-version: "${{ matrix.python-version }}"
74
+ channels: conda-forge,defaults
75
+ channel-priority: strict
76
+
77
+ - name: Install Conda build tools
78
+ shell: bash
79
+ run: |
80
+ set -euo pipefail
81
+ conda install -n base -y conda-build anaconda-client
82
+
83
+ - name: Create package output directory
84
+ shell: bash
85
+ run: |
86
+ set -euo pipefail
87
+ mkdir -p "$GITHUB_WORKSPACE/$PACKAGE_DIR"
88
+ ls -ld "$GITHUB_WORKSPACE/$PACKAGE_DIR"
89
+
90
+ - name: Build Conda package for Python ${{ matrix.python-version }}
91
+ shell: bash
92
+ run: |
93
+ set -euo pipefail
94
+
95
+ echo "Building version ${{ steps.version.outputs.version }}"
96
+ echo "Python: ${{ matrix.python-version }}"
97
+ echo "Recipe: $RECIPE_DIR"
98
+ echo "Output: $GITHUB_WORKSPACE/$PACKAGE_DIR"
99
+
100
+ conda build "$RECIPE_DIR" \
101
+ --python "${{ matrix.python-version }}" \
102
+ --output-folder "$GITHUB_WORKSPACE/$PACKAGE_DIR"
103
+
104
+ echo "Build output files:"
105
+ find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -maxdepth 3 -type f -print
106
+
107
+ PACKAGE_COUNT="$(
108
+ find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -type f \
109
+ \( -name '*.conda' -o -name '*.tar.bz2' \) \
110
+ | wc -l
111
+ )"
112
+
113
+ if [ "$PACKAGE_COUNT" -eq 0 ]; then
114
+ echo "HATA: Build tamamlandı fakat dist içinde Conda paketi bulunamadı."
115
+ exit 1
116
+ fi
117
+
118
+ - name: Create test environment
119
+ shell: bash
120
+ run: |
121
+ set -euo pipefail
122
+ conda create -n test-env -y \
123
+ "python=${{ matrix.python-version }}" \
124
+ pytest \
125
+ pytest-cov
126
+
127
+ - name: Run development tests
128
+ shell: bash
129
+ run: |
130
+ set -euo pipefail
131
+ conda run -n test-env --no-capture-output \
132
+ python -m pytest tests/ --cov=adnus
133
+
134
+ - name: Install and test built package
135
+ shell: bash
136
+ run: |
137
+ set -euo pipefail
138
+
139
+ PACKAGE_FILE="$(
140
+ find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -type f \
141
+ \( -name '*.conda' -o -name '*.tar.bz2' \) \
142
+ | head -n 1
143
+ )"
144
+
145
+ if [ -z "$PACKAGE_FILE" ]; then
146
+ echo "HATA: Test edilecek Conda paketi bulunamadı."
147
+ exit 1
148
+ fi
149
+
150
+ echo "Installing package: $PACKAGE_FILE"
151
+ conda install -n test-env -y "$PACKAGE_FILE"
152
+
153
+ conda run -n test-env --no-capture-output \
154
+ python -c "import adnus; print('Import successful for Python ${{ matrix.python-version }}')"
155
+
156
+ - name: Show build artifacts
157
+ if: always()
158
+ shell: bash
159
+ run: |
160
+ echo "Workspace: $GITHUB_WORKSPACE"
161
+ if [ -d "$GITHUB_WORKSPACE/$PACKAGE_DIR" ]; then
162
+ find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -maxdepth 3 -type f -print
163
+ else
164
+ echo "Paket klasörü henüz oluşmadı: $GITHUB_WORKSPACE/$PACKAGE_DIR"
165
+ fi
166
+
167
+ - name: Upload package to Anaconda Cloud
168
+ if: success() && github.event_name == 'release'
169
+ shell: bash
170
+ env:
171
+ ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
172
+ run: |
173
+ set -euo pipefail
174
+
175
+ if [ -z "${ANACONDA_TOKEN:-}" ]; then
176
+ echo "HATA: ANACONDA_TOKEN GitHub secret olarak ayarlanmamış."
177
+ exit 1
178
+ fi
179
+
180
+ mapfile -t PACKAGE_FILES < <(
181
+ find "$GITHUB_WORKSPACE/$PACKAGE_DIR" -type f \
182
+ \( -name '*.conda' -o -name '*.tar.bz2' \)
183
+ )
184
+
185
+ if [ "${#PACKAGE_FILES[@]}" -eq 0 ]; then
186
+ echo "HATA: Yüklenecek Conda paketi bulunamadı."
187
+ exit 1
188
+ fi
189
+
190
+ echo "Anaconda Cloud'a yüklenecek paketler:"
191
+ printf '%s\n' "${PACKAGE_FILES[@]}"
192
+
193
+ conda run -n base anaconda \
194
+ -t "$ANACONDA_TOKEN" \
195
+ upload "${PACKAGE_FILES[@]}" \
196
+ --label main \
197
+ --skip-existing
198
+
199
+ - name: Cleanup test environment
200
+ if: always()
201
+ shell: bash
202
+ run: |
203
+ conda env remove -n test-env -y || true
@@ -1,4 +1,7 @@
1
1
  name: Publish Python Package to PyPI
2
+ permissions:
3
+ contents: read
4
+ pull-requests: write
2
5
 
3
6
  on:
4
7
  push:
@@ -15,10 +18,10 @@ jobs:
15
18
 
16
19
  steps:
17
20
  - name: Checkout code
18
- uses: actions/checkout@v4
21
+ uses: actions/checkout@v7
19
22
 
20
23
  - name: Set up Python
21
- uses: actions/setup-python@v5
24
+ uses: actions/setup-python@v7
22
25
  with:
23
26
  python-version: '3.x'
24
27
 
@@ -31,5 +34,5 @@ jobs:
31
34
  run: python -m build
32
35
 
33
36
  - name: Publish to PyPI
34
- uses: pypa/gh-action-pypi-publish@v1.13.0
37
+ uses: pypa/gh-action-pypi-publish@v1.14.2
35
38
 
@@ -2,13 +2,17 @@ name: Lint with Ruff
2
2
 
3
3
  on: [push, pull_request]
4
4
 
5
+ permissions:
6
+ contents: read
7
+ pull-requests: write
8
+
5
9
  jobs:
6
10
  ruff:
7
11
  runs-on: ubuntu-latest
8
12
  steps:
9
- - uses: actions/checkout@v4
13
+ - uses: actions/checkout@v7
10
14
  - name: Set up Python
11
- uses: actions/setup-python@v4
15
+ uses: actions/setup-python@v7
12
16
  with:
13
17
  python-version: '3.11'
14
18
  - name: Install Ruff
@@ -0,0 +1,71 @@
1
+ name: Pixi CI
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ permissions:
7
+ id-token: write
8
+ contents: read
9
+
10
+ jobs:
11
+ test-and-build:
12
+ # Matristen gelen işletim sistemini dinamik olarak kullanır
13
+ runs-on: ${{ matrix.os }}
14
+ strategy:
15
+ matrix:
16
+ # 🚀 Tüm ana işletim sistemlerini matrise ekledik
17
+ os: [ubuntu-latest]
18
+ python-version: ["3.14"]
19
+ fail-fast: false
20
+
21
+ steps:
22
+ - name: 📥 Checkout code
23
+ uses: actions/checkout@v7.0.1
24
+
25
+ - name: 🐍 Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v6
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+
30
+ - name: 🚀 Install Pixi
31
+ uses: prefix-dev/setup-pixi@v0.10.2
32
+ with:
33
+ pixi-version: "latest"
34
+ cache: false # Önbellek çakışmasını engeller
35
+ frozen: false # Kilit dosyası yoksa veya eksikse dinamik olarak çözülmesine izin verir
36
+
37
+ - name: 🧠 Cache Pixi environments & cache
38
+ uses: actions/cache@v6
39
+ with:
40
+ path: |
41
+ ~/.cache/pixi
42
+ ~/.pixi/envs
43
+ key: ${{ runner.os }}-pixi-${{ hashFiles('pixi.lock') }}
44
+ restore-keys: |
45
+ ${{ runner.os }}-pixi-
46
+
47
+ - name: 📦 Install dependencies
48
+ run: pixi install --frozen
49
+
50
+ - name: 🔧 Install package in editable mode
51
+ run: pixi run pip install -e .
52
+
53
+ - name: 🧪 Run tests
54
+ run: pixi run test
55
+
56
+ - name: 🏗️ Build package (wheel + sdist)
57
+ run: pixi run build
58
+ # Gerekiyorsa `build` görevini pixi.toml'da tanımlamış olmalısınız:
59
+ # [tasks]
60
+ # build = "python -m build"
61
+
62
+ - name: 📤 Upload build artifacts
63
+ uses: actions/upload-artifact@v7
64
+ with:
65
+ name: adnus-dist-${{ matrix.os }}-py${{ matrix.python-version }}
66
+ path: dist/
67
+ if-no-files-found: ignore
68
+
69
+ - name: 🏗️ Paket Derle ve prefix.dev'e Yayınla (Trusted Publishing)
70
+ # Hangi sunucuda çalışıyorsa (Win/Mac/Linux) o platformun paketini derleyip yükler
71
+ run: pixi publish --target-channel https://prefix.dev/bilgi
@@ -22,10 +22,10 @@ jobs:
22
22
 
23
23
  steps:
24
24
  - name: Check out the repository
25
- uses: actions/checkout@v3
25
+ uses: actions/checkout@v7
26
26
 
27
27
  - name: Cache dependencies
28
- uses: actions/cache@v3
28
+ uses: actions/cache@v6
29
29
  with:
30
30
  path: ~/.cache/pip
31
31
  key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -33,7 +33,7 @@ jobs:
33
33
  ${{ runner.os }}-pip-
34
34
 
35
35
  - name: Set up Python ${{ matrix.python-version }}
36
- uses: actions/setup-python@v3
36
+ uses: actions/setup-python@v7
37
37
  with:
38
38
  python-version: ${{ matrix.python-version }}
39
39
 
@@ -52,5 +52,5 @@ jobs:
52
52
  run: pytest --cov=your_package_name --cov-report=xml
53
53
 
54
54
  - name: Upload coverage to Codecov
55
- uses: codecov/codecov-action@v3
55
+ uses: codecov/codecov-action@v7
56
56
 
@@ -1,4 +1,7 @@
1
1
  name: Publish Python Package to PyPI
2
+ permissions:
3
+ contents: read
4
+ pull-requests: write
2
5
 
3
6
  on:
4
7
  push:
@@ -15,10 +18,10 @@ jobs:
15
18
 
16
19
  steps:
17
20
  - name: Checkout code
18
- uses: actions/checkout@v4
21
+ uses: actions/checkout@v7
19
22
 
20
23
  - name: Set up Python
21
- uses: actions/setup-python@v5
24
+ uses: actions/setup-python@v7
22
25
  with:
23
26
  python-version: '3.x'
24
27
 
@@ -31,5 +34,5 @@ jobs:
31
34
  run: python -m build
32
35
 
33
36
  - name: Publish to PyPI
34
- uses: pypa/gh-action-pypi-publish@v1.13.0
37
+ uses: pypa/gh-action-pypi-publish@v1.14.2
35
38
 
@@ -3,24 +3,28 @@ name: Run tests and upload coverage
3
3
  on:
4
4
  push
5
5
 
6
+ permissions:
7
+ contents: read
8
+ pull-requests: write
9
+
6
10
  jobs:
7
11
  test:
8
12
  name: Run tests and collect coverage
9
13
  runs-on: ubuntu-latest
10
14
  steps:
11
15
  - name: Checkout
12
- uses: actions/checkout@v4
16
+ uses: actions/checkout@v7
13
17
  with:
14
18
  fetch-depth: 2
15
19
 
16
20
  - name: Set up Node
17
- uses: actions/setup-node@v4
21
+ uses: actions/setup-node@v7
18
22
 
19
23
  - name: Install dependencies
20
24
  run: npm install
21
25
 
22
26
  - name: Upload results to Codecov
23
- uses: codecov/codecov-action@v5
27
+ uses: codecov/codecov-action@v7
24
28
  with:
25
29
  token: ${{ secrets.CODECOV_TOKEN }}
26
30
  slug: WhiteSymmetry/adnus
@@ -26,15 +26,15 @@ jobs:
26
26
  runs-on: ubuntu-latest
27
27
  steps:
28
28
  - name: Check out the repository
29
- uses: actions/checkout@v4
29
+ uses: actions/checkout@v7
30
30
 
31
31
  - name: Set up Node.js
32
- uses: actions/setup-node@v4
32
+ uses: actions/setup-node@v7
33
33
  with:
34
34
  node-version: '20'
35
35
 
36
36
  - name: Cache node_modules
37
- uses: actions/cache@v3
37
+ uses: actions/cache@v6
38
38
  with:
39
39
  path: node_modules
40
40
  key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -45,14 +45,14 @@ jobs:
45
45
  run: npm run build
46
46
 
47
47
  - name: Configure GitHub Pages
48
- uses: actions/configure-pages@v4
48
+ uses: actions/configure-pages@v6
49
49
 
50
50
  - name: Upload static content artifact
51
- uses: actions/upload-pages-artifact@v3
51
+ uses: actions/upload-pages-artifact@v5
52
52
  with:
53
53
  path: './dist' # Uygunsa build çıktısı dizininizi buraya yazın (örneğin: public, build, dist)
54
54
 
55
55
  - name: Deploy to GitHub Pages
56
56
  id: deployment
57
- uses: actions/deploy-pages@v4
57
+ uses: actions/deploy-pages@v5
58
58
 
@@ -1,4 +1,7 @@
1
- name: PyPI-Publish Python Package to PyPI-Resmi
1
+ name: PyPI-Publish Python Package to PyPI-Resmî
2
+ permissions:
3
+ contents: read
4
+ pull-requests: write
2
5
 
3
6
  on:
4
7
  push:
@@ -15,10 +18,10 @@ jobs:
15
18
 
16
19
  steps:
17
20
  - name: Checkout code
18
- uses: actions/checkout@v4
21
+ uses: actions/checkout@v7
19
22
 
20
23
  - name: Set up Python
21
- uses: actions/setup-python@v5
24
+ uses: actions/setup-python@v7
22
25
  with:
23
26
  python-version: '3.x'
24
27
 
@@ -31,4 +34,4 @@ jobs:
31
34
  run: python -m build
32
35
 
33
36
  - name: Publish to PyPI
34
- uses: pypa/gh-action-pypi-publish@v1.13.0
37
+ uses: pypa/gh-action-pypi-publish@v1.14.2
@@ -4,6 +4,10 @@ on:
4
4
  release:
5
5
  types: [published]
6
6
 
7
+ permissions:
8
+ contents: read
9
+ pull-requests: write
10
+
7
11
  jobs:
8
12
  upload-to-zenodo:
9
13
  runs-on: ubuntu-latest
@@ -12,7 +16,7 @@ jobs:
12
16
  steps:
13
17
  # This step is not needed at the moment but I might decide to add more steps in the future
14
18
  - name: Set up Node.js
15
- uses: actions/setup-node@v3
19
+ uses: actions/setup-node@v7
16
20
  with:
17
21
  node-version: 16
18
22
 
@@ -0,0 +1,50 @@
1
+ name: GitHub Actions Security Analysis with zizmor 🌈
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+ branches: ["**"]
8
+
9
+ permissions:
10
+ contents: read
11
+ pull-requests: write
12
+
13
+ jobs:
14
+ zizmor:
15
+ name: zizmor latest via PyPI
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ security-events: write
19
+ contents: read
20
+ actions: read
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24
+ with:
25
+ persist-credentials: false
26
+
27
+ - name: Install the latest version of uv
28
+ uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
29
+
30
+ - name: Run zizmor 🌈
31
+ run: |
32
+ uvx zizmor --format=sarif . > results.sarif
33
+ echo "SARIF file contents:"
34
+ cat results.sarif
35
+ env:
36
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
+
38
+ - name: Verify SARIF file exists
39
+ run: |
40
+ if [ ! -f results.sarif ]; then
41
+ echo "Error: results.sarif was not created!"
42
+ exit 1
43
+ fi
44
+ echo "SARIF file size: $(wc -c < results.sarif) bytes"
45
+
46
+ - name: Upload SARIF file
47
+ uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
48
+ with:
49
+ sarif_file: results.sarif
50
+ category: zizmor
@@ -12,7 +12,7 @@ type: software
12
12
  authors:
13
13
  - given-names: Mehmet
14
14
  family-names: Keçeci
15
- email: bilginomi@yaani.com
15
+ email: enfo@tuta.io
16
16
  orcid: 'https://orcid.org/0000-0001-9937-9839'
17
17
  identifiers:
18
18
  - type: doi
@@ -33,5 +33,5 @@ keywords:
33
33
  - adnus
34
34
  license: AGPL-3.0-or-later
35
35
  commit: 'Revision: 1'
36
- version: 0.2.1
36
+ version: 0.2.4
37
37
  date-released: '2025-07-12'
@@ -11,7 +11,7 @@ about it. If not, you can submit a new issue, making sure to include:
11
11
 
12
12
  * Your OS name and version.
13
13
  * Any details about your local setup (_e.g._, your Python environment setup) that might be helpful in troubleshooting.
14
- * The Solar Data Tools version you are using.
14
+ * The adnus version you are using.
15
15
  * Detailed steps to reproduce the bug.
16
16
  * A tag, if appropriate (_e.g._, "bug" or "enhancement").
17
17
 
@@ -32,11 +32,11 @@ part of the documentation, such as the getting started guides or the docstrings/
32
32
 
33
33
  ## Get Started!
34
34
 
35
- Ready to contribute? Here's how to set up Solar Data Tools for local development.
35
+ Ready to contribute? Here's how to set up adnus for local development.
36
36
 
37
37
  1. You will need to have `git` installed on your local machine, and you will need some way to create and manage
38
38
  Python virtual environments. We recommend using `conda`.
39
- 2. Create your own fork of the Solar Data Tools [repository](https://github.com/WhiteSymmetry/adnus).
39
+ 2. Create your own fork of the adnus [repository](https://github.com/WhiteSymmetry/adnus).
40
40
  3. Clone your repository, for example by typing in your terminal:
41
41
  `git clone https://github.com/<your_username>/kececifractals.git`.
42
42
  4. Install `solardatatools` as editable in your new environment:
@@ -77,5 +77,5 @@ Before you submit a pull request, check that it meets these guidelines:
77
77
 
78
78
  ## Code of Conduct
79
79
 
80
- Please note that the Solar Data Tools project is released with a
80
+ Please note that the adnus project is released with a
81
81
  [Code of Conduct](getting_started/CODE_OF_CONDUCT.md). By contributing to this project you agree to abide by its terms.