Skip to content

Commit

Permalink
Update GitHub Actions workflow to use Python 3.12 and latest action v…
Browse files Browse the repository at this point in the history
…ersions
  • Loading branch information
polischuks committed Feb 14, 2025
1 parent 9012664 commit d4e0614
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.12"
- name: Python version
run: python --version
- name: Install dependencies
Expand All @@ -29,11 +29,11 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "windows-latest", "macos-latest"]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0-rc.2" ]
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- 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 }}
- name: Python version
Expand All @@ -43,7 +43,7 @@ jobs:
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/requirements-dev.txt') }}
Expand Down

0 comments on commit d4e0614

Please sign in to comment.