Skip to content

Commit dbaa17b

Browse files
authored
Merge pull request #316 from anevolbap/fix/revert-actions-node
Revert the GitHub Actions update due to Node 16 sunset.
2 parents 9746996 + aba8bb6 commit dbaa17b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
python-version: ["3.10", "3.11"]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v3
1818
- name: Set up Python
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v4
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Run lint
@@ -29,9 +29,9 @@ jobs:
2929
python-version: ["3.10", "3.11"]
3030

3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v3
3333
- name: Set up Python
34-
uses: actions/setup-python@v5
34+
uses: actions/setup-python@v3
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
- name: Run doctests

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
name: Build source distribution
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
18-
- uses: actions/setup-python@v5
18+
- uses: actions/setup-python@v4
1919
with:
2020
python-version: 3.11
2121
- name: Build the sdist and the wheel
@@ -40,7 +40,7 @@ jobs:
4040
echo "Checking import and version number (on release)"
4141
venv-bdist/bin/python -c "import causalpy; assert causalpy.__version__ == '${{ github.ref_name }}' if '${{ github.ref_type }}' == 'tag' else causalpy.__version__; print(causalpy.__version__)"
4242
cd ..
43-
- uses: actions/upload-artifact@v4
43+
- uses: actions/upload-artifact@v3
4444
with:
4545
name: artifact
4646
path: dist/*
@@ -60,7 +60,7 @@ jobs:
6060
user: __token__
6161
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
6262
repository_url: https://test.pypi.org/legacy/
63-
- uses: actions/setup-python@v5
63+
- uses: actions/setup-python@v4
6464
with:
6565
python-version: 3.11
6666
- name: Test pip install from test.pypi

0 commit comments

Comments
 (0)