Skip to content

Commit abc5b40

Browse files
bump dependencies of github actions (#49)
1 parent 2ec5d10 commit abc5b40

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
lint:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
fetch-depth: 0
2222
- name: Set up Python
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v4
2424
with:
2525
python-version: 3.8
2626

27-
- uses: actions/cache@v2
27+
- uses: actions/cache@v3
2828
with:
2929
path: ~/.cache/pre-commit
3030
key: precommit-${{ env.pythonLocation }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
@@ -67,11 +67,11 @@ jobs:
6767
SC_VERSION: 3.18.0 # SLEPc version
6868

6969
steps:
70-
- uses: actions/checkout@v2
70+
- uses: actions/checkout@v3
7171
with:
7272
fetch-depth: 0
7373
- name: Set up Python ${{ matrix.python }}
74-
uses: actions/setup-python@v2
74+
uses: actions/setup-python@v4
7575
with:
7676
python-version: ${{ matrix.python }}
7777

@@ -89,9 +89,9 @@ jobs:
8989
- name: Get pip cache dir
9090
id: pip-cache-dir
9191
run: |
92-
echo "::set-output name=dir::$(pip cache dir)"
92+
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
9393
- name: Restore pip cache
94-
uses: actions/cache@v2
94+
uses: actions/cache@v3
9595
with:
9696
path: ${{ steps.pip-cache-dir.outputs.dir }}
9797
key: pip-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt') }}
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Restore PETSc/SLEPc tox cache
105105
if: matrix.use_slepc == true
106-
uses: actions/cache@v2
106+
uses: actions/cache@v3
107107
with:
108108
path: .tox
109109
key: tox-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/install_dependencies.sh', '**/requirements.txt', '**/setup.py', '**/tox.ini') }}
@@ -130,11 +130,11 @@ jobs:
130130
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
131131
runs-on: ubuntu-latest
132132
steps:
133-
- uses: actions/checkout@v2
133+
- uses: actions/checkout@v3
134134
with:
135135
fetch-depth: 0
136136
- name: Set up Python
137-
uses: actions/setup-python@v2
137+
uses: actions/setup-python@v4
138138
with:
139139
python-version: 3.8
140140
- name: Install pypa/build

0 commit comments

Comments
 (0)