Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ychab committed Jun 17, 2024
1 parent b4203fe commit f38c71d
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand All @@ -30,9 +30,9 @@ jobs:
version: 1.8.3

- name: Install Node JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install Python dependencies
run: poetry install --no-interaction
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
images: ychab/wagtail_folioblog

- name: Build and push Docker image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/prod/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ jobs:
uses: actions/checkout@v4

- name: Install Node JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install NPM dependencies first
run: npm ci

- name: Check dependencies
uses: MeilCli/npm-update-check-action@v4
uses: MeilCli/npm-update-check-action@v5
id: outdated
with:
output_text_style: 'short'

- name: Make NPM deps badges
uses: action-badges/core@0.2.2
uses: action-badges/core@0.3.1
with:
label: NPM deps
message: ${{ steps.outdated.outputs.has_npm_update == 'true' && 'outdated' || 'updated' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/poetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/selenium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand All @@ -48,9 +48,9 @@ jobs:
sudo chmod +x /usr/local/bin/chromedriver
- name: Install Node JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install NPM dependencies and build dist
run: |
Expand All @@ -71,7 +71,7 @@ jobs:
FOLIOBLOG_SECRET_KEY: Mo4ocFeHT5Yi0hRyodrO

- name: Make Selenium Badge
uses: action-badges/cobertura-coverage-xml-badges@0.2.1
uses: action-badges/cobertura-coverage-xml-badges@0.3.1
with:
label: end2end
file-name: selenium.svg
Expand All @@ -80,7 +80,7 @@ jobs:
coverage-file-name: ./coverage.xml

- name: Archive HTML coverage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: htmlcoverage
path: htmlcov
4 changes: 2 additions & 2 deletions .github/workflows/units.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand All @@ -59,7 +59,7 @@ jobs:
FOLIOBLOG_SECRET_KEY: Mo4ocFeHT5Yi0hRyodrO

- name: Make Units Badge
uses: action-badges/cobertura-coverage-xml-badges@0.2.1
uses: action-badges/cobertura-coverage-xml-badges@0.3.1
with:
label: units
file-name: units.svg
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Make wagtail version badge
uses: action-badges/poetry-badges@0.2.2
uses: action-badges/poetry-badges@0.3.1
with:
file-name: poetry-wagtail-version.svg
badge-branch: badges
Expand Down

0 comments on commit f38c71d

Please sign in to comment.