Skip to content

Commit

Permalink
Updated GHA workflow action versions. (django#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson authored and Shi Feng committed Jun 16, 2023
1 parent b19c4b8 commit 1a993ac
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/tests.yml
Expand Up @@ -2,8 +2,8 @@ name: Tests

on:
push:
branches:
- main
branches:
- main
pull_request:

jobs:
Expand All @@ -15,16 +15,16 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.7
- 3.8
- 3.9
- "3.10"
- "3.11"
- 3.7
- 3.8
- 3.9
- "3.10"
- "3.11"
services:
redis:
image: redis
ports:
- 6379:6379
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
Expand All @@ -46,9 +46,9 @@ jobs:
REDIS_SENTINEL_PASSWORD: channels_redis

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -63,11 +63,11 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox
Expand Down

0 comments on commit 1a993ac

Please sign in to comment.