From a8bd2dbb0732cc6d73cb01b0d7a6f1e68a6fb1f3 Mon Sep 17 00:00:00 2001 From: Gianluca Ficarelli Date: Thu, 7 Dec 2023 10:46:46 +0100 Subject: [PATCH] Update badges --- .github/workflows/publish-sdist.yml | 6 +++--- README.rst | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-sdist.yml b/.github/workflows/publish-sdist.yml index 4834428..87894d9 100644 --- a/.github/workflows/publish-sdist.yml +++ b/.github/workflows/publish-sdist.yml @@ -1,4 +1,4 @@ -name: Publish sdist tarball to PyPI +name: PyPI on: push: @@ -21,11 +21,11 @@ jobs: python -m pip install --upgrade pip setuptools wheel python -m pip install build - - name: Build a source tarball + - name: Build distribution packages run: python -m build - - name: Publish distribution package to PyPI + - name: Publish distribution packages to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ diff --git a/README.rst b/README.rst index 689fccb..2f81818 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,6 @@ |banner| -|build_status| |license| |coverage| |docs| |DOI| +|build_status| |license| |coverage| |docs| |CodeQL| |PyPI| |DOI| blueetl-core ============ @@ -54,8 +54,8 @@ Citation When you use this software, we kindly ask you to cite the following DOI: -.. image:: https://zenodo.org/badge/xxxxxxxx.svg - :target: https://zenodo.org/badge/latestdoi/xxxxxxxx +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10277477.svg + :target: https://doi.org/10.5281/zenodo.10277477 Acknowledgment @@ -83,8 +83,16 @@ Copyright © 2023 Blue Brain Project/EPFL :target: https://blueetl-core.readthedocs.io/ :alt: documentation status -.. |DOI| image:: https://zenodo.org/badge/DOI/xxx/zenodo.yyy.svg - :target: https://doi.org/xxx/zenodo.yyy +.. |CodeQL| image:: https://github.com/BlueBrain/blueetl-core/actions/workflows/github-code-scanning/codeql/badge.svg + :target: https://github.com/BlueBrain/blueetl-core/actions/workflows/github-code-scanning/codeql + :alt: CodeQL + +.. |PyPI| image:: https://github.com/BlueBrain/blueetl-core/actions/workflows/publish-sdist.yml/badge.svg + :target: https://pypi.org/project/blueetl-core/ + :alt: PyPI + +.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10277477.svg + :target: https://doi.org/10.5281/zenodo.10277477 :alt: DOI .. local-substitutions