Skip to content

Commit 9a30a70

Browse files
committed
CI: Update all workflow jobs and actions
1 parent 5ad9e75 commit 9a30a70

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.circleci/config.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
version: 2.1
22

33
orbs:
4-
python: circleci/[email protected]
4+
# https://circleci.com/developer/orbs/orb/circleci/python
5+
python: circleci/[email protected]
56

67
jobs:
78
build_docs:
8-
executor: python/default
9+
executor:
10+
name: python/default
11+
tag: '3.10'
912
steps:
1013
- checkout
11-
- python/install-deps
14+
- python/install-packages
1215
- run:
1316
name: Build docs
1417
command: cd docs/ && make html

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v2
30+
uses: github/codeql-action/init@v3
3131
with:
3232
languages: ${{ matrix.language }}
3333
queries: +security-and-quality
3434

3535
- name: Autobuild
36-
uses: github/codeql-action/autobuild@v2
36+
uses: github/codeql-action/autobuild@v3
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@v2
39+
uses: github/codeql-action/analyze@v3
4040
with:
4141
category: "/language:${{ matrix.language }}"

.github/workflows/main.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- name: Install Python dependencies
1111
run: pip install -r requirements.txt
1212
- name: Build
@@ -15,7 +15,7 @@ jobs:
1515
run: rm ./docs/_build/html/objects.inv
1616
- name: Publish
1717
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
18-
uses: peaceiris/actions-gh-pages@v3
18+
uses: peaceiris/actions-gh-pages@v4
1919
with:
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
2121
publish_dir: ./docs/_build/html

0 commit comments

Comments
 (0)