Skip to content

Commit 831fe34

Browse files
committed
Run the clang-format Github action on ubuntu-latest
- Use latest actions versions
1 parent fc7cbaa commit 831fe34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/clang-format.yml

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

55
jobs:
66
check:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
env:
99
CLANG_VERSION: 10
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v6.0.1
1212
- name: Install clang-format
1313
run: |
1414
codename=$( lsb_release --codename --short )
@@ -28,7 +28,7 @@ jobs:
2828
git diff --exit-code | tee "clang-format.patch"
2929
- name: Upload patch
3030
if: failure() && steps.assert.outcome == 'failure'
31-
uses: actions/upload-artifact@v2
31+
uses: actions/upload-artifact@v6.0.0
3232
continue-on-error: true
3333
with:
3434
name: clang-format.patch

0 commit comments

Comments
 (0)