Skip to content

Commit dc8ee69

Browse files
committed
CI: Update versions of GitHub actions
1 parent 600e18e commit dc8ee69

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.github/workflows/build.yml

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

1414
jobs:
1515
linux:
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-20.04
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
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@v2
27+
uses: actions/setup-python@v4
2828
with:
29-
python-version: 3.6
29+
python-version: '3.6'
3030
- name: Python Package Cache
31-
uses: actions/cache@v2
31+
uses: actions/cache@v3
3232
with:
3333
path: ~/.cache/pip
3434
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
@@ -52,7 +52,7 @@ jobs:
5252
> _work/meson/symbols
5353
(cd _work/meson/prefix && find lib -type f | sort) > _work/meson/files
5454
- name: Meson - Archive Artifacts
55-
uses: actions/upload-artifact@v2
55+
uses: actions/upload-artifact@v3
5656
with:
5757
name: build-meson
5858
path: _work/meson/prefix
@@ -71,7 +71,7 @@ jobs:
7171
> _work/cmake/symbols
7272
(cd _work/cmake/prefix && find lib -type f | sort) > _work/cmake/files
7373
- name: CMake - Archive Artifacts
74-
uses: actions/upload-artifact@v2
74+
uses: actions/upload-artifact@v3
7575
with:
7676
name: build-cmake
7777
path: _work/cmake/prefix
@@ -81,17 +81,17 @@ jobs:
8181
diff -u _work/{cmake,meson}/symbols
8282
diff -Naur _work/{cmake,meson}/prefix/usr/include/
8383
- name: Archive Documentation
84-
uses: actions/upload-artifact@v2
84+
uses: actions/upload-artifact@v3
8585
with:
8686
name: docs
8787
path: _work/cmake/build/Documentation/html
8888
publish:
8989
if: ${{ github.ref == 'refs/heads/master' }}
9090
needs: linux
91-
runs-on: ubuntu-18.04
91+
runs-on: ubuntu-20.04
9292
steps:
9393
- name: Fetch Documentation
94-
uses: actions/download-artifact@v2
94+
uses: actions/download-artifact@v3
9595
with:
9696
name: docs
9797
path: html
@@ -107,13 +107,13 @@ jobs:
107107
PYTHONIOENCODING: "utf-8"
108108
steps:
109109
- name: Checkout
110-
uses: actions/checkout@v2
110+
uses: actions/checkout@v3
111111
- name: Setup Python
112-
uses: actions/setup-python@v2
112+
uses: actions/setup-python@v4
113113
with:
114-
python-version: 3.6
114+
python-version: '3.6'
115115
- name: Setup MSVC
116-
uses: seanmiddleditch/gha-setup-vsdevenv@master
116+
uses: seanmiddleditch/gha-setup-vsdevenv@v4
117117
- name: Install Tools
118118
run: |
119119
choco install winflexbison3 ninja -y --no-progress --stop-on-first-failure

.github/workflows/codestyle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-20.04
88
steps:
99
- name: Checkout Head
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v3
1111
- name: Fetch Git History
1212
run: |
1313
git fetch --no-tags --prune --depth=1 \
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
scripts/check-style -ocode-style.diff origin/master
2626
- name: Archive Diff
27-
uses: actions/upload-artifact@v2
27+
uses: actions/upload-artifact@v3
2828
if: failure()
2929
with:
3030
name: diff

.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-18.04
12+
runs-on: ubuntu-20.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3

0 commit comments

Comments
 (0)