Skip to content

Commit

Permalink
format,ci: update clang-format to clang16
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Jul 28, 2023
1 parent cdd58fb commit afec22d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/everything.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

runs-on: ubuntu-latest
container:
image: ornladios/adios2:ci-formatting
image: ghcr.io/ornladios/adios2:ci-formatting

steps:
- uses: actions/checkout@v3
Expand Down
23 changes: 12 additions & 11 deletions scripts/ci/images/formatting/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM ubuntu:20.04
FROM fedora:38

RUN apt update && \
DEBIAN_FRONTEND="noninteractive" apt upgrade -y --no-install-recommends && \
DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
apt-utils \
ca-certificates \
clang-format-7 \
RUN dnf update -y && \
dnf install -y \
clang-tools-extra \
curl \
flake8 \
git \
libtinfo5 \
shellcheck \
python3-flake8 \
ShellCheck \
&& \
apt-get clean
dnf clean all

# Check that the target programs has been installed
RUN command -v clang-format > /dev/null && \
command -v flake8 > /dev/null && \
command -v shellcheck > /dev/null

0 comments on commit afec22d

Please sign in to comment.