Skip to content

Commit

Permalink
ci(workflows): upgrade actions
Browse files Browse the repository at this point in the history
Upgrade outdated (v3, Node 16) GitHub actions used
in workflows to latest versions, which use Node 20.

Closes: #2178
  • Loading branch information
keikoro committed May 24, 2024
1 parent b275eb5 commit 1d3ad84
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
runs-on: ubuntu-latest
name: Black
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5.1.0
- name: Black
uses: psf/[email protected] # already includes args "--check --diff"
flake8:
runs-on: ubuntu-latest
name: Flake8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5.1.0
with:
python-version: '3.9'
- name: Install dependencies
Expand All @@ -42,9 +42,9 @@ jobs:
runs-on: ubuntu-latest
name: isort
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5.1.0
with:
python-version: '3.9'
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- uses: s-weigand/setup-conda@v1
with:
activate-conda: true
Expand Down Expand Up @@ -56,9 +56,9 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -121,9 +121,9 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 1d3ad84

Please sign in to comment.