Skip to content

Commit

Permalink
Merge branch 'master' into docs/remove-tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Levence committed May 30, 2024
2 parents 0cd83c1 + 80aa37b commit 8fd8672
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6
- name: Setup Python 3.9
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0
with:
python-version: '3.9'
- name: Install dependencies
run: make install
- name: Run tests
run: make test
- name: Upload coverage to Codecov 📝
# https://github.com/codecov/codecov-action codecov/2.1.0
# Pinned this to a git sha as per recommendations in GitHub actions hardening guide.
# see https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
uses: "codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b"
uses: "codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c" # 4.4.1
with:
fail_ci_if_error: true
files: ./coverage-reports/coverage-report.xml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6
- name: Setup Python 3.9
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0
with:
python-version: '3.9'
- name: Install dependencies
Expand All @@ -24,12 +24,12 @@ jobs:
pipenv run python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to Test PyPI
if: github.event.release.prerelease == true
uses: pypa/gh-action-pypi-publish@f8c70e705ffc13c3b4d1221169b84f12a75d6ca8
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # 1.8.14
with:
password: ${{ secrets.TEST_PYPI_PASSWORD }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: github.event.release.prerelease != true
uses: pypa/gh-action-pypi-publish@f8c70e705ffc13c3b4d1221169b84f12a75d6ca8
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # 1.8.14
with:
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 8fd8672

Please sign in to comment.