Skip to content

Commit

Permalink
Prep project for CI release (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse authored Jul 3, 2023
1 parent 72823f8 commit d370637
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
poetry-version: '1.3.1'
poetry-version: '1.5.0'
- name: Install pip dependencies
run: poetry install
- uses: pre-commit/[email protected]
Expand All @@ -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/[email protected]
with:
poetry-version: '1.3.1'
poetry-version: '1.5.0'
- name: Install pip dependencies
run: poetry install
- name: Run tests
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cert-host-scraper"
version = "0.7.5"
version = "0.0.0"
description = ""
authors = ["Malachi Soord <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit d370637

Please sign in to comment.