Skip to content

Commit fc107cb

Browse files
committed
workflows: use clang-format from Ubuntu
Signed-off-by: Peter Colberg <[email protected]> (cherry picked from commit 415af2e)
1 parent 88599e1 commit fc107cb

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/clang-format.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33

44
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
55

6-
name: run clang-format
6+
name: clang-format
77

8-
# https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
98
permissions:
10-
# Grant read permissions to repository in case it is not a forked public
11-
# repository, but a private repository that was created manually.
12-
contents: read
13-
149
# Grant read permissions to private container images.
1510
packages: read
1611

@@ -36,7 +31,7 @@ jobs:
3631
runs-on: ubuntu-20.04
3732

3833
container:
39-
image: ghcr.io/intel/fpga-runtime-for-opencl/ubuntu-20.04-clang:main
34+
image: ghcr.io/intel/fpga-runtime-for-opencl/ubuntu-22.04-dev:main
4035

4136
steps:
4237
- name: checkout code

0 commit comments

Comments
 (0)