diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd906f0..8c54c56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,11 @@ jobs: ${{ runner.os }}-poetry- - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install poetry uses: abatilo/actions-poetry@v2.3.0 with: - poetry-version: '1.3.1' + poetry-version: '1.5.0' - name: Install pip dependencies run: poetry install - uses: pre-commit/action@v3.0.0 @@ -41,11 +41,11 @@ jobs: ${{ runner.os }}-poetry- - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install poetry uses: abatilo/actions-poetry@v2.3.0 with: - poetry-version: '1.3.1' + poetry-version: '1.5.0' - name: Install pip dependencies run: poetry install - name: Run tests diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0e3cda5..340547e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,15 +11,17 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install poetry uses: abatilo/actions-poetry@v2.3.0 with: - poetry-version: '1.3.1' + poetry-version: '1.5.0' - name: Install pip dependencies run: poetry install - name: Package - run: poetry build + run: | + poetry version ${{ github.event.release.tag_name }} + poetry build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@v1.8.7 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c80ae24..a56dcc6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,11 +17,11 @@ repos: - id: isort additional_dependencies: [toml] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.2.0 + rev: v1.4.1 hooks: - id: mypy additional_dependencies: [types-requests] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.261' + rev: 'v0.0.276' hooks: - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 2025b91..0e7eb5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cert-host-scraper" -version = "0.7.5" +version = "0.0.0" description = "" authors = ["Malachi Soord "] license = "MIT"