Skip to content

Commit 359b8aa

Browse files
committed
CI: Update versions of GitHub actions and base images
This will avoid using outdated, deprecated versions.
1 parent 819164a commit 359b8aa

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ on:
1313

1414
jobs:
1515
linux:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v5
2020
- name: Install Debian Packages
2121
run: |
2222
sudo apt update
2323
sudo apt install -y cmake flex libjson-glib-dev libxkbcommon-dev \
2424
libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-dev \
2525
libclang-dev libglib2.0-dev ninja-build
2626
- name: Setup Python
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v6
2828
with:
29-
python-version: '3.6'
29+
python-version: '3.7'
3030
- name: Python Package Cache
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: ~/.cache/pip
3434
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
@@ -88,15 +88,15 @@ jobs:
8888
publish:
8989
if: ${{ github.ref == 'refs/heads/master' }}
9090
needs: linux
91-
runs-on: ubuntu-20.04
91+
runs-on: ubuntu-22.04
9292
steps:
9393
- name: Fetch Documentation
94-
uses: actions/download-artifact@v4
94+
uses: actions/download-artifact@v5
9595
with:
9696
name: docs
9797
path: html
9898
- name: Deploy Documentation
99-
uses: peaceiris/actions-gh-pages@v3
99+
uses: peaceiris/actions-gh-pages@v4
100100
with:
101101
github_token: ${{ secrets.GITHUB_TOKEN }}
102102
force_orphan: true
@@ -107,13 +107,13 @@ jobs:
107107
PYTHONIOENCODING: "utf-8"
108108
steps:
109109
- name: Checkout
110-
uses: actions/checkout@v3
110+
uses: actions/checkout@v5
111111
- name: Setup Python
112-
uses: actions/setup-python@v4
112+
uses: actions/setup-python@v6
113113
with:
114-
python-version: '3.6'
114+
python-version: '3.7'
115115
- name: Setup MSVC
116-
uses: seanmiddleditch/gha-setup-vsdevenv@v4
116+
uses: seanmiddleditch/gha-setup-vsdevenv@v5
117117
- name: Install Tools
118118
run: |
119119
choco install winflexbison3 ninja -y --no-progress --stop-on-first-failure
@@ -133,26 +133,26 @@ jobs:
133133
run: |
134134
ninja -C _build
135135
analyze:
136-
runs-on: ubuntu-20.04
136+
runs-on: ubuntu-22.04
137137
steps:
138138
- name: Checkout
139-
uses: actions/checkout@v3
139+
uses: actions/checkout@v5
140140
- name: Install Dependencies
141141
run: |
142142
curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | \
143143
sudo apt-key add -
144144
sudo add-apt-repository \
145-
'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main'
145+
'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'
146146
sudo apt update
147147
sudo apt install -y flex libjson-glib-dev libxkbcommon-dev \
148-
libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-14-dev \
149-
libclang-14-dev libglib2.0-dev ninja-build clang-tools-14
148+
libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-dev \
149+
libclang-dev libglib2.0-dev ninja-build clang-tools
150150
- name: Setup Python
151-
uses: actions/setup-python@v4
151+
uses: actions/setup-python@v6
152152
with:
153-
python-version: '3.6'
153+
python-version: '3.7'
154154
- name: Python Package Cache
155-
uses: actions/cache@v3
155+
uses: actions/cache@v4
156156
with:
157157
path: ~/.cache/pip
158158
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}

.github/workflows/codestyle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
jobs:
66
check:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
steps:
99
- name: Checkout Head
1010
uses: actions/checkout@v3
@@ -17,9 +17,9 @@ jobs:
1717
curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | \
1818
sudo apt-key add -
1919
sudo add-apt-repository \
20-
'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main'
20+
'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'
2121
sudo apt update
22-
sudo apt install -y clang-format-13 diffutils
22+
sudo apt install -y clang-format diffutils
2323
- name: Check
2424
run: |
2525
scripts/check-style -ocode-style.diff origin/master

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
format-cmake:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3

0 commit comments

Comments
 (0)