Skip to content

Commit

Permalink
Use latest OS versions for GH Actions runners
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Mar 13, 2024
1 parent ce8194c commit f13cb2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15]
os: [ubuntu-latest, macos-latest]
python-version:
- '3.7'
- '3.8'
Expand All @@ -36,7 +36,7 @@ jobs:

test-docs:
name: Test documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
PYTHON_VERSION: '3.x'
steps:
Expand All @@ -60,7 +60,7 @@ jobs:
publish-to-test-pypi:
name: Publish to TestPyPI
environment: staging
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs:
- test-code
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
publish-to-pypi:
name: Publish to PyPI
environment: production
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: publish-to-test-pypi

Expand Down

0 comments on commit f13cb2a

Please sign in to comment.