[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: e3a44c9b8dd304f4fe8521db0f05591b44a5e04b Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 26 09:24:28 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 26 09:24:28 2024 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=e3a44c9b ci: fix doc.yml Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/doc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 4e0a49d0..4b7cbbe0 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -58,4 +58,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment -uses: actions/deploy-pages@v1 +uses: actions/deploy-pages@v4
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 57770686c98e70c09577f2ea23a3a5846fe998f4 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 26 09:19:33 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 26 09:21:05 2024 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=57770686 ci: bump dependencies Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/doc.yml | 10 +++--- .github/workflows/release.yml | 9 ++--- .github/workflows/test.yml| 6 +++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 47708ff4..4e0a49d0 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' @@ -40,7 +40,7 @@ jobs: touch build/sphinx/html/.nojekyll - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: build/sphinx/html @@ -51,6 +51,10 @@ jobs: runs-on: ubuntu-latest needs: build +permissions: + pages: write + id-token: write + steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b246c22..48921ef2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: 'pip' @@ -50,10 +50,13 @@ jobs: sha512sum dist/* tar -ztf dist/*.tar.gz | sort -- uses: actions/upload-artifact@v3 +- uses: actions/upload-artifact@v4 with: name: results path: dist/* +if-no-files-found: error +compression-level: 0 +overwrite: true - name: publish uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1a8cbe5..8f1f818b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -61,5 +61,5 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: psf/black@stable
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: d9539a3a7eb814d2a3993421c6f7ec2e2a23cf2f Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 26 09:19:33 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 26 09:19:33 2024 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=d9539a3a ci: bump dependencies Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/doc.yml | 14 +++--- .github/workflows/release.yml | 9 ++--- .github/workflows/test.yml| 6 +++--- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 47708ff4..346522fe 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' @@ -40,7 +40,7 @@ jobs: touch build/sphinx/html/.nojekyll - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: build/sphinx/html @@ -51,6 +51,14 @@ jobs: runs-on: ubuntu-latest needs: build +permissions: + pages: write + id-token: write + +environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b246c22..48921ef2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: 'pip' @@ -50,10 +50,13 @@ jobs: sha512sum dist/* tar -ztf dist/*.tar.gz | sort -- uses: actions/upload-artifact@v3 +- uses: actions/upload-artifact@v4 with: name: results path: dist/* +if-no-files-found: error +compression-level: 0 +overwrite: true - name: publish uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1a8cbe5..8f1f818b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -61,5 +61,5 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: psf/black@stable
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: /, .github/workflows/
commit: 07aa7897d118d652503e8515c70980de1cf97863 Author: Sam James gentoo org> AuthorDate: Fri Jan 19 04:43:10 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 19 09:57:29 2024 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=07aa7897 ci: add py3.13, make 3.12 non-exp Signed-off-by: Sam James gentoo.org> Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 4 ++-- tox.ini| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77150441..616312e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,11 @@ jobs: strategy: matrix: os: [ubuntu-latest] -python-version: ['3.10', '3.11'] +python-version: ['3.10', '3.11', '3.12'] experimental: [false] include: - os: ubuntu-latest -python-version: '3.12-dev' +python-version: '3.13-dev' experimental: true - os: macos-latest python-version: '3.11' diff --git a/tox.ini b/tox.ini index 00584b5e..59feefc5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py310, py311, pypy3 +envlist = py310, py311, py312, pypy3 [testenv] # force latest virtualenv/pip download = true
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 0fa84345a51f6b851b629b8dfd61e3306bfda0a5 Author: Sam James gentoo org> AuthorDate: Fri Jan 19 04:44:51 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 19 09:57:30 2024 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=0fa84345 ci: add pypy3.10 Signed-off-by: Sam James gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/99 Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 616312e0..b1a8cbe5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] -python-version: ['3.10', '3.11', '3.12'] +python-version: ['3.10', '3.11', '3.12', 'pypy3.10'] experimental: [false] include: - os: ubuntu-latest
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 051b89ef0ecdad758ad8e1bcc7467a71f562d5be Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 22 15:02:47 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 22 15:02:54 2023 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=051b89ef ci: remove pypy3.9 Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c767a22..77150441 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] -python-version: ['3.10', '3.11', 'pypy-3.9'] +python-version: ['3.10', '3.11'] experimental: [false] include: - os: ubuntu-latest
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 6c10670969a4d59b42b80d9269cf87bc7952cc88 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jun 23 05:21:25 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jun 23 05:21:25 2023 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=6c106709 ci: add pytest-github-actions-annotate-failures for test Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 019a76c5..9c767a22 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip -pip install .[test] +pip install ".[test]" pytest-github-actions-annotate-failures - name: Install non-python deps if: ${{ matrix.os == 'ubuntu-latest' }}
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 1f94bb1fde20c3db60370e608c4ce8d25b19b0c9 Author: Arthur Zamarin gentoo org> AuthorDate: Wed May 17 19:10:34 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed May 17 19:10:34 2023 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=1f94bb1f ci: use new PyPI OIDC publish Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/release.yml | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00120669..8b246c22 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,13 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest +environment: release + +permissions: + id-token: write # Used to authenticate to PyPI via OIDC + + contents: write # Used to authenticate github release publish + steps: - name: Checkout code uses: actions/checkout@v3 @@ -48,20 +55,9 @@ jobs: name: results path: dist/* -- name: Install twine and check files - run: | -pip install twine wheel-inspect -twine check dist/* -wheel2json dist/*.whl - -- name: Upload to PyPI - env: -TWINE_USERNAME: __token__ -TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} - # only upload files for tagged releases +- name: publish + uses: pypa/gh-action-pypi-publish@release/v1 if: startsWith(github.ref, 'refs/tags/') - run: | -twine upload dist/* - name: Create GitHub release uses: softprops/action-gh-release@v1 @@ -69,3 +65,4 @@ jobs: with: files: dist/*.tar.gz fail_on_unmatched_files: true +draft: true
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: /, .github/workflows/
commit: b28c3db8351007929d9bac3ea23c00b205d87ab4 Author: Arthur Zamarin gentoo org> AuthorDate: Wed May 17 19:05:44 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed May 17 19:05:44 2023 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=b28c3db8 drop support for py3.9 Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/doc.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml| 4 ++-- README.rst| 2 +- pyproject.toml| 3 +-- tox.ini | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index b5820146..47708ff4 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -21,10 +21,10 @@ jobs: - name: Checkout code uses: actions/checkout@v3 -- name: Set up Python 3.10 +- name: Set up Python 3.11 uses: actions/setup-python@v4 with: -python-version: '3.10' +python-version: '3.11' cache: 'pip' cache-dependency-path: pyproject.toml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf1a719b..00120669 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: - name: Checkout code uses: actions/checkout@v3 -- name: Set up Python 3.10 +- name: Set up Python 3.11 uses: actions/setup-python@v4 with: -python-version: "3.10" +python-version: "3.11" cache: 'pip' cache-dependency-path: pyproject.toml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31760dcb..019a76c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,14 +13,14 @@ jobs: strategy: matrix: os: [ubuntu-latest] -python-version: ['3.9', '3.10', '3.11', 'pypy-3.9'] +python-version: ['3.10', '3.11', 'pypy-3.9'] experimental: [false] include: - os: ubuntu-latest python-version: '3.12-dev' experimental: true - os: macos-latest -python-version: '3.10' +python-version: '3.11' experimental: false fail-fast: false diff --git a/README.rst b/README.rst index ab8aff80..570db727 100644 --- a/README.rst +++ b/README.rst @@ -36,7 +36,7 @@ Using tox for all supported python versions:: Using tox for a specific python version:: -tox -e py39 +tox -e py310 Contact === diff --git a/pyproject.toml b/pyproject.toml index e86ec920..b9253042 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" name = "snakeoil" description = "misc common functionality and useful optimizations" readme = "README.rst" -requires-python = "~=3.9" +requires-python = "~=3.10" authors = [ {name = "Tim Harder", email = "radher...@gmail.com"}, {name = "Arthur Zamarin", email = "arthur...@gentoo.org"}, @@ -17,7 +17,6 @@ maintainers = [ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", -"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ] diff --git a/tox.ini b/tox.ini index 3d9c197e..00584b5e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, pypy3 +envlist = py310, py311, pypy3 [testenv] # force latest virtualenv/pip download = true
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 2cb70c06d205b52abbf4fed36c2e86653db98aa8 Author: Sam James gentoo org> AuthorDate: Mon Mar 20 04:10:37 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 24 10:55:27 2023 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=2cb70c06 CI: add Python 3.12 alphas Signed-off-by: Sam James gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/96 Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51e539af..31760dcb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,9 +16,9 @@ jobs: python-version: ['3.9', '3.10', '3.11', 'pypy-3.9'] experimental: [false] include: - # - os: ubuntu-latest - # python-version: '3.11.0-beta - 3.11' - # experimental: true + - os: ubuntu-latest +python-version: '3.12-dev' +experimental: true - os: macos-latest python-version: '3.10' experimental: false
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 44476071ce4f88049afdcbb143975fd598eaf09f Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 25 18:14:26 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 25 18:14:26 2022 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=44476071 ci: add black format check Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e05284c..51e539af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,3 +56,10 @@ jobs: uses: codecov/codecov-action@v3 with: files: ./coverage.xml + + format: +runs-on: ubuntu-latest +steps: +- name: Checkout code + uses: actions/checkout@v3 +- uses: psf/black@stable
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 6e4702f689f6260c36bb656ab06d6c84036cd2fc Author: Arthur Zamarin gentoo org> AuthorDate: Tue Nov 8 18:40:20 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Nov 8 18:40:20 2022 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=6e4702f6 drop pypy-3.8 support Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 389746d5..7e05284c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] -python-version: ['3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9'] +python-version: ['3.9', '3.10', '3.11', 'pypy-3.9'] experimental: [false] include: # - os: ubuntu-latest
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: /, .github/workflows/
commit: 686faa1134212732ce0aa01c3d792021e76570e6 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Nov 8 18:37:34 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Nov 8 18:37:34 2022 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=686faa11 drop py3.8 support Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/test.yml | 8 pyproject.toml | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdff1444..389746d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,12 +13,12 @@ jobs: strategy: matrix: os: [ubuntu-latest] -python-version: ['3.8', '3.9', '3.10', 'pypy-3.8', 'pypy-3.9'] +python-version: ['3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9'] experimental: [false] include: - - os: ubuntu-latest -python-version: '3.11.0-beta - 3.11' -experimental: true + # - os: ubuntu-latest + # python-version: '3.11.0-beta - 3.11' + # experimental: true - os: macos-latest python-version: '3.10' experimental: false diff --git a/pyproject.toml b/pyproject.toml index c250cee4..99d72b11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" name = "snakeoil" description = "misc common functionality and useful optimizations" readme = "README.rst" -requires-python = "~=3.8" +requires-python = "~=3.9" authors = [ {name = "Tim Harder", email = "radher...@gmail.com"}, {name = "Arthur Zamarin", email = "arthur...@gentoo.org"}, @@ -17,7 +17,6 @@ maintainers = [ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", -"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: b8e75f3962ab4e6d9b17f8236a3cf67eb82ca438 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 3 18:04:42 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 3 18:04:42 2022 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=b8e75f39 release.yml: update actions/setup-python to v4 Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0d82dc9..cf1a719b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.10" cache: 'pip'
[gentoo-commits] proj/pkgcore/snakeoil:master commit in: .github/workflows/
commit: 88080887fb366a0a0d2d30e3ded8164a34bca0c0 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Oct 4 10:05:11 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Oct 4 10:05:11 2022 + URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=88080887 ci: use deploy using github actions instead of branch Using a branch is broken when using the mirroring. So use straight deployment using github actions. Signed-off-by: Arthur Zamarin gentoo.org> .github/workflows/doc.yml | 33 ++--- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 53eee2c7..b5820146 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -3,9 +3,19 @@ name: doc on: push: branches: [master] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true jobs: - build-and-deploy: + build: runs-on: ubuntu-latest steps: - name: Checkout code @@ -29,10 +39,19 @@ jobs: # notify github this isn't a jekyll site touch build/sphinx/html/.nojekyll -- name: Deploy docs to gh-pages - uses: JamesIves/github-pages-deploy-action@v4 +- name: Upload artifact + uses: actions/upload-pages-artifact@v1 with: -token: ${{ secrets.GITHUB_TOKEN }} -branch: gh-pages -folder: build/sphinx/html -single-commit: true +path: build/sphinx/html + + deploy: +environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} +runs-on: ubuntu-latest +needs: build + +steps: + - name: Deploy to GitHub Pages +id: deployment +uses: actions/deploy-pages@v1