Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractUmbra committed May 3, 2024
1 parent cf2cb38 commit 56004c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: "Load cached poetry installation @ ${{ matrix.python-version }}"
id: cached-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-0
Expand All @@ -52,7 +52,7 @@ jobs:

- name: "Load cached venv @ ${{ matrix.python-version }}"
id: cached-pip-wheels
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv/
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
poetry run sphinx-build -aETW --keep-going . build
- name: "Upload artifacts @ ${{ matrix.python-version}}"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: distributions
path: dist/*
Expand All @@ -99,13 +99,13 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: Download Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: distributions
path: dist
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/coverage_and_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
name: "Type Coverage and Linting @ ${{ matrix.python-version }}"
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Load cached poetry installation @ ${{ matrix.python-version }}"
id: cached-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-0
Expand All @@ -41,7 +41,7 @@ jobs:

- name: "Setup Python @ ${{ matrix.python-version }}"
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
cache: "poetry"
Expand All @@ -57,12 +57,12 @@ jobs:
echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
- name: "Run Pyright @ ${{ matrix.python-version }}"
uses: jakebailey/pyright-action@v1
uses: jakebailey/pyright-action@v2
with:
warnings: false
verify-types: "hondana"
ignore-external: true
no-comments: ${{ matrix.python-version != '3.x' }}
annotate: ${{ matrix.python-version != '3.x' && 'all' || 'none' }}

- name: Lint
if: ${{ always() && steps.install-deps.outcome == 'success' }}
Expand Down

0 comments on commit 56004c6

Please sign in to comment.