-
Notifications
You must be signed in to change notification settings - Fork 47
43 lines (40 loc) · 1.01 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Curl | Bash Test
on:
push:
paths:
- install.sh.in
- .github/workflows/ci.yml
# branches: [ main ]
schedule:
- cron: "0 0 * * 0" # weekly
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: sudo apt install -y shellcheck
- run: shellcheck -S error install.sh.in
curl-bash:
needs: shellcheck
runs-on: ubuntu-latest
strategy:
matrix:
container:
- "ubuntu:latest"
- "ubuntu:24.10"
- "ubuntu:24.04"
- "ubuntu:22.04"
- "ubuntu:20.04"
- "debian:latest"
- "debian:12"
- "debian:11"
- "debian:10"
- "kalilinux/kali-rolling:latest"
container:
image: ${{ matrix.container }}
steps:
- name: apt
run: apt-get -y update && apt-get -y install curl gnupg2 gnupg gpg || true
- name: install ${{ matrix.container }}
run: cat install.sh.in | bash