Skip to content

Commit

Permalink
Upgrade actions/checkout to v4 and actions/setup-node to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Feb 4, 2025
1 parent dde68a7 commit d5fc35a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ jobs:
if: github.repository == 'pytest-dev/pytest-html'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'

- name: Build and Check Package
uses: hynek/build-and-inspect-python-package@v2

- name: Download Package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Packages
path: dist
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -37,13 +37,13 @@ jobs:
name: Build Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'

Expand All @@ -54,9 +54,9 @@ jobs:
name: Run javascript unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Install dependencies
Expand Down Expand Up @@ -107,10 +107,10 @@ jobs:
- name: Set newline behavior
run: git config --global core.autocrlf false

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'

Expand Down Expand Up @@ -174,13 +174,13 @@ jobs:
- name: Set newline behavior
run: git config --global core.autocrlf false

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Start chrome
run: ./start

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'

Expand Down Expand Up @@ -242,13 +242,13 @@ jobs:
- name: Set newline behavior
run: git config --global core.autocrlf false

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Start chrome
run: ./start

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'

Expand Down

0 comments on commit d5fc35a

Please sign in to comment.