Skip to content

Commit 5b7f864

Browse files
committed
Docker image builds now
1 parent 9ea44cc commit 5b7f864

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cpp-py-format"
33
version = "0.3.0"
44
authors = ["Andrew Gaspar <[email protected]>","Joshua Brown <[email protected]>", "Philipp Grete <[email protected]"]
5-
edition = "2022"
5+
edition = "2018"
66

77
[dependencies]
88
glob = "0.3.0"

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the GitHub Action
2-
FROM rust:1.42 as builder
2+
FROM rust:1.52 as builder
33
WORKDIR /usr/src/myapp
44
COPY Cargo.toml .
55
COPY Cargo.lock .
@@ -13,7 +13,7 @@ RUN apt-get update
1313
RUN apt-get upgrade -y
1414
RUN apt-get install -y git \
1515
python3-pip \
16-
clang-format-10 clang-format-11 clang-format-12 clang-format-13 \
16+
clang-format-10 clang-format-11 clang-format-12 \
1717
&& rm -rf /var/lib/apt/lists/*
1818
RUN python3 -m pip install --upgrade pip
1919
RUN python3 -m pip install black

check/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ inputs:
99
required: true
1010
clangFormatVersion:
1111
description:
12-
Major Clang Version number. Supports clang 10 to 13. Default 13
12+
Major Clang Version number. Supports clang 10 to 12. Default 12
1313
required: false
14-
default: '13'
14+
default: '12'
1515
include_c:
1616
description:
1717
Comma-separated list of file globs (e.g '**/*.cpp,**/*.hpp') that

command/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ inputs:
99
required: true
1010
clangFormatVersion:
1111
description:
12-
Major Clang Version number. Supports clang 10 to 13. Default 13
12+
Major Clang Version number. Supports clang 10 to 12. Default 12
1313
required: false
14-
default: '13'
14+
default: '12'
1515
include_c:
1616
description:
1717
Comma-separated list of file globs (e.g '**/*.cpp,**/*.hpp') that

0 commit comments

Comments
 (0)