File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Pylint
1
+ name : Linters
2
2
3
3
on : [push]
4
4
5
5
jobs :
6
- build :
6
+
7
+ docker-lint :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ -
uses :
hadolint/[email protected]
12
+ with :
13
+ recursive : true
14
+ ignore : DL3041
15
+
16
+ python-lint :
7
17
runs-on : ubuntu-latest
8
18
9
19
strategy :
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ FROM fedora:36
2
2
3
3
WORKDIR /root
4
4
5
- # for nvme-stas
6
- RUN dnf install -y python3-dasbus python3-pyudev python3-systemd python3-gobject meson
7
- # for libnvme
8
- RUN dnf install -y git gcc g++ cmake openssl-devel libuuid-devel json-c-devel swig python-devel meson
5
+ # first line for nvme-stas
6
+ # second line for libnvme
7
+ RUN dnf install -y python3-dasbus python3-pyudev python3-systemd python3-gobject meson \
8
+ git gcc g++ cmake openssl-devel libuuid-devel json-c-devel swig python-devel meson && dnf clean all
9
9
10
10
COPY . .
11
- RUN meson .build && ninja -C .build && cd .build && meson install
11
+ RUN meson .build && ninja -C .build && meson install -C .build
12
12
13
13
ENTRYPOINT ["python3" ]
You can’t perform that action at this time.
0 commit comments