🏡 index : github.com/captn3m0/photon-os-advisories.git

author Nemo <commits@captnemo.in> 2025-02-03 13:05:14.0 +05:30:00
committer Nemo <commits@captnemo.in> 2025-02-03 13:05:14.0 +05:30:00
commit
3875de6a86ed72d0d6e424cc8ac8d009f4f1c6be [patch]
tree
77166f3af24f6d79e4ebe394d7a3fc00f8f1673e
parent
7df139a08949bd8bd8b8c13da937b7bbd6f73d94
download
3875de6a86ed72d0d6e424cc8ac8d009f4f1c6be.tar.gz

switch to .python-version



Diff

 .gitignore                    | 4 +---
 .python-version               | 1 +
 .github/workflows/update.yaml | 5 -----
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3e0e7e2..0cafc1c 100644
--- a/.gitignore
+++ a/.gitignore
@@ -1,3 +1,1 @@
.venv/
# Since we use pypy
.python-version
.venv/
diff --git a/.python-version b/.python-version
new file mode 100644
index 0000000..8e51258 100644
--- /dev/null
+++ a/.python-version
@@ -1,0 +1,1 @@
pypy3.10
diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml
index c595310..4e86696 100644
--- a/.github/workflows/update.yaml
+++ a/.github/workflows/update.yaml
@@ -14,12 +14,7 @@
      with:
        ref: ${{ github.head_ref }}
        submodules: true
    # pypy is much faster at generating lots of JSON
    # and canonicaljson also uses pypy-json instead 
    # of simplejson (https://github.com/matrix-org/python-canonicaljson/pull/25/files)
    - uses: actions/setup-python@v5
      with:
        python-version: 'pypy3.10'
    - name: Update data
      run: |

        mkdir -p advisories