Skip to content

Commit

Permalink
Update used action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gwax committed Dec 14, 2022
1 parent 3a39998 commit c3771e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
cache: pip
cache-dependency-path: |
requirements.txt
test_requirements.txt
- run: pip install -r requirements.txt -r test_requirements.txt
- uses: pre-commit/action@v2.0.3
- uses: pre-commit/action@v3.0.0
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4

- name: Install pypa/build
run: >-
Expand All @@ -29,12 +29,12 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
# TODO(gwax): use setuptools_scm instead of only pushing tags to test pypi
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.5.0
uses: pypa/gh-action-pypi-publish@v1.6.4
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.5.0
uses: pypa/gh-action-pypi-publish@v1.6.4
with:
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- "3.11"
name: Python ${{ matrix.python-version }} pytest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
cache: pip
Expand Down

0 comments on commit c3771e3

Please sign in to comment.