Skip to content

Commit

Permalink
update GH for Node20 and v4 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
profjsb committed Oct 8, 2024
1 parent 078c033 commit 0c5e2a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Checkout branch being tested
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
clean: false

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand All @@ -37,7 +40,7 @@ jobs:
run: |
pytest --cache-clear --cov=tdtax > pytest-coverage.txt
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
with:
name: logs
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Checkout branch being tested
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
clean: false

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand All @@ -36,7 +39,7 @@ jobs:
run: |
pytest --cache-clear --cov=tdtax > pytest-coverage.txt
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
with:
name: logs
Expand Down

0 comments on commit 0c5e2a3

Please sign in to comment.