Skip to content

Commit

Permalink
✅ Update Actions & Python versions (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Mar 14, 2024
1 parent a45c966 commit 02475b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Check out the PR
uses: actions/checkout@v3
uses: actions/checkout@v4

# Get the list of directories containing changed config files:
- name: Get changed directories
Expand All @@ -44,23 +44,23 @@ jobs:
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
- name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

- name: Select Python 3.7
uses: actions/setup-python@v3
- name: Select Python 3.9
uses: actions/setup-python@v5
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

- name: Install PlatformIO
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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:
- name: Deploy bugfix-2.1.x
Expand Down

0 comments on commit 02475b8

Please sign in to comment.