Skip to content

Commit

Permalink
fix CI, misc minor updates (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl authored Mar 16, 2023
1 parent 779a4db commit 1eb80f6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: set PYSHA
run: echo "PYSHA=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v3
Expand Down Expand Up @@ -63,6 +65,8 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN || github.token }}
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- id: dist
uses: casperdcl/deploy-pypi@v2
with:
Expand All @@ -77,7 +81,7 @@ jobs:
tag="${GITHUB_REF#refs/tags/}"
gh release create --title "shtab $tag beta" --draft --notes "$changelog" "$tag" dist/${{ steps.dist.outputs.whl }} dist/${{ steps.dist.outputs.targz }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}
- name: Docs
run: |
pushd docs
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
- flake8-isort
- flake8-string-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.0
rev: v1.1.1
hooks:
- id: mypy
additional_dependencies: [types-setuptools]
Expand Down
2 changes: 1 addition & 1 deletion LICENCE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020-2021 Casper da Costa-Luis
Copyright 2020-2023 Casper da Costa-Luis

Licensed under the Apache Licence, Version 2.0 (the "Licence");
you may not use this project except in compliance with the Licence.
Expand Down
3 changes: 1 addition & 2 deletions docs/pydoc-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ renderer:
name: material
logo: https://github.com/iterative/shtab/raw/main/meta/logo.png
favicon: https://github.com/iterative/shtab/raw/main/meta/logo.png
features: [content.tabs.link]
palette:
- scheme: default
primary: white
Expand All @@ -68,8 +69,6 @@ renderer:
toggle:
icon: material/toggle-switch
name: Switch to light mode
features:
- content.tabs.link
plugins:
- search
- minify:
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mkdocs-material
git+https://github.com/iterative/jsmin@python3-only#egg=jsmin
git+https://github.com/tqdm/jsmin@python3-only#egg=jsmin
mkdocs-minify-plugin
pydoc-markdown>=4
pygments
Expand Down

0 comments on commit 1eb80f6

Please sign in to comment.