Update Actions & Python versions (#1013)

This commit is contained in:
Keith Bennett 2024-03-14 11:38:57 -07:00 committed by GitHub
parent a45c966e5d
commit 02475b8b7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -22,7 +22,7 @@ jobs:
steps: steps:
- name: Check out the PR - name: Check out the PR
uses: actions/checkout@v3 uses: actions/checkout@v4
# Get the list of directories containing changed config files: # Get the list of directories containing changed config files:
- name: Get changed directories - name: Get changed directories
@ -44,7 +44,7 @@ jobs:
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
- name: Cache pip - name: Cache pip
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ~/.cache/pip path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@ -52,15 +52,15 @@ jobs:
${{ runner.os }}-pip- ${{ runner.os }}-pip-
- name: Cache PlatformIO - name: Cache PlatformIO
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ~/.platformio path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Select Python 3.7 - name: Select Python 3.9
uses: actions/setup-python@v3 uses: actions/setup-python@v5
with: with:
python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax. python-version: '3.9' # Version range or exact version of a Python version to use, using semvers version range syntax.
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install PlatformIO - name: Install PlatformIO

View file

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out - name: Check out
uses: actions/checkout@v3 uses: actions/checkout@v4
# For each directory containing a changed config file, copy the .h files and build the code: # For each directory containing a changed config file, copy the .h files and build the code:
- name: Deploy bugfix-2.1.x - name: Deploy bugfix-2.1.x