Skip to content

Commit

Permalink
Other minor changes required to update to Current - #1168
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Aug 19, 2024
1 parent 247938e commit aa66c70
Show file tree
Hide file tree
Showing 3 changed files with 1,382 additions and 1,136 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/reformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
if: "! contains(toJSON(github.event.commits.*.message), '[skip reformat]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.ACTIONS_PYTHON_VERSION }}
- name: Reformat
Expand All @@ -35,11 +35,11 @@ jobs:
# Ensure this is run **sequentially**
needs: reformat-altlabel
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.ACTIONS_PYTHON_VERSION }}
- name: Install dependencies
Expand All @@ -57,13 +57,13 @@ jobs:
# Ensure this is run **sequentially**
needs: reformat-python
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -79,24 +79,24 @@ jobs:
needs: reformat-javascript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

# For prettier
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 22
cache: npm

- name: Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
# actions/cache below uses this id to get the exact python version
id: setup-python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.ACTIONS_PYTHON_VERSION }}
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
Expand Down
Loading

0 comments on commit aa66c70

Please sign in to comment.