Skip to content

Commit

Permalink
CI: Update Actions (#1526)
Browse files Browse the repository at this point in the history
* Update build-and-deploy-website.yml

* Update identify-old-issues-and-pr.yml

* Update build-and-deploy-website.yml

* Update md-link-check.yml

* Update md_lint_check.yml

* Update publishing-check.yml

* Update identify-old-issues-and-pr.yml
  • Loading branch information
tinyboxvk authored Oct 31, 2024
1 parent fc84581 commit 4dfc5e8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ on:
jobs:
build:
name: Build offline website
runs-on: ubuntu-20.04 #ubuntu-latest ubuntu latest have some bug, we need to use older one
runs-on: ubuntu-24.04
env:
CI: true
WORKFLOW_GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
steps:
- name: Setup Action
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2.1.5
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 20.x
- name: Setup Python
uses: actions/setup-python@v2.2.1
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Python dependencies
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/identify-old-issues-and-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@ on:
jobs:
build:
name: Identify old issues and PR
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
CI: true
steps:
- name: Setup Action
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 12.x
- name: SetUp python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install python dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/md-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
link-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
CI: true
steps:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Run link check
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/md_lint_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
CI: true
steps:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Run linter
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publishing-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on: [push, pull_request]
jobs:
build:
name: Build website
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
CI: true
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'
- name: Install Python dependencies
run: make install-python-requirements
- name: Build website
Expand Down

0 comments on commit 4dfc5e8

Please sign in to comment.