diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65508a6..fde6b1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,15 +6,20 @@ on: pull_request: branches: [main] +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 @@ -27,7 +32,7 @@ jobs: - name: Lint with ruff run: pip install ruff && ruff check src/ --target-version py310 + - name: Run tests run: | python -m pytest tests/ -v --cov=src --cov-report=term-missing - diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index ffc3b66..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Publish to npm - -on: - release: - types: [published] - workflow_dispatch: - -jobs: - publish: - runs-on: ubuntu-latest - permissions: - contents: read - - steps: - - uses: actions/checkout@v6 - - - name: Set up Node.js - uses: actions/setup-node@v6 - with: - node-version: "22" - registry-url: "https://registry.npmjs.org" - - - name: Publish to npm - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - npm publish --access public - diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 29402d3..4259af1 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -19,6 +19,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Setup Pages uses: actions/configure-pages@v5 - name: Build with Jekyll diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b2d572b..e00c8b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,6 +22,8 @@ jobs: steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Set up Python 3.11 uses: actions/setup-python@v6 diff --git a/pyproject.toml b/pyproject.toml index 3d7b3a6..3187001 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,16 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] +[project.urls] +Homepage = "https://github.com/Coding-Dev-Tools/json2sql" +Documentation = "https://coding-dev-tools.github.io/json2sql/" +Repository = "https://github.com/Coding-Dev-Tools/json2sql" +Issues = "https://github.com/Coding-Dev-Tools/json2sql/issues" +Changelog = "https://github.com/Coding-Dev-Tools/json2sql/releases" + [project.optional-dependencies] license = ["revenueholdings-license>=0.1.0"] dev = [