aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-01-26 11:19:33 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-01-26 11:21:05 +0200
commit57770686c98e70c09577f2ea23a3a5846fe998f4 (patch)
tree7977d5683ce916c6d1fb6573b37bb325b47a1ada
parentgit-blame-ignore-revs: ignore black 24 format (diff)
downloadsnakeoil-57770686c98e70c09577f2ea23a3a5846fe998f4.tar.gz
snakeoil-57770686c98e70c09577f2ea23a3a5846fe998f4.tar.bz2
snakeoil-57770686c98e70c09577f2ea23a3a5846fe998f4.zip
ci: bump dependencies
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--.github/workflows/doc.yml10
-rw-r--r--.github/workflows/release.yml9
-rw-r--r--.github/workflows/test.yml6
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