File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
nim :
17
- - " 1.6.10"
18
17
- " 1.6.x"
19
18
- " 2.0.x"
19
+ - " 2.2.x"
20
20
- " devel"
21
21
steps :
22
22
- uses : actions/checkout@v3
49
49
sed -i 's/enableDebug = false/enableDebug = true/g' nitter.conf
50
50
nimble md
51
51
nimble scss
52
- echo '${{ secrets.GUEST_ACCOUNTS }}' > ./guest_accounts .jsonl
52
+ echo '${{ secrets.SESSIONS }}' > ./sessions .jsonl
53
53
- name : Run tests
54
54
run : |
55
55
./nitter &
Original file line number Diff line number Diff line change 1
- FROM nimlang/nim:2.0 .0-alpine-regular as nim
1
+ FROM nimlang/nim:2.2 .0-alpine-regular as nim
2
2
LABEL maintainer="setenforce@protonmail.com"
3
3
4
4
RUN apk --no-cache add libsass-dev pcre
@@ -9,7 +9,7 @@ COPY nitter.nimble .
9
9
RUN nimble install -y --depsOnly
10
10
11
11
COPY . .
12
- RUN nimble build -d:danger -d:lto -d:strip \
12
+ RUN nimble build -d:danger -d:lto -d:strip --mm:refc \
13
13
&& nimble scss \
14
14
&& nimble md
15
15
Original file line number Diff line number Diff line change 1
- FROM alpine:3.18 as nim
1
+ FROM alpine:3.21.2 as nim
2
2
LABEL maintainer="setenforce@protonmail.com"
3
3
4
- RUN apk --no-cache add libsass-dev pcre gcc git libc-dev " nim=1.6.14-r0" " nimble=0.13.1-r2"
4
+ RUN apk --no-cache add libsass-dev pcre gcc git libc-dev nim nimble
5
5
6
6
WORKDIR /src/nitter
7
7
8
8
COPY nitter.nimble .
9
9
RUN nimble install -y --depsOnly
10
10
11
11
COPY . .
12
- RUN nimble build -d:danger -d:lto -d:strip \
12
+ RUN nimble build -d:danger -d:lto -d:strip --mm:refc \
13
13
&& nimble scss \
14
14
&& nimble md
15
15
16
- FROM alpine:3.18
16
+ FROM alpine:3.21.2
17
17
WORKDIR /src/
18
- RUN apk --no-cache add pcre ca-certificates openssl1.1-compat
18
+ RUN apk --no-cache add pcre ca-certificates openssl
19
19
COPY --from=nim /src/nitter/nitter ./
20
20
COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf
21
21
COPY --from=nim /src/nitter/public ./public
You can’t perform that action at this time.
0 commit comments