-
Notifications
You must be signed in to change notification settings - Fork 47
50 lines (47 loc) · 1.25 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
44
45
46
47
48
49
50
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"
- "linuxmintd/mint22-amd64:latest"
- "kalilinux/kali-rolling:latest"
- "rhedhat/ubi9:latest"
- "rockylinux/rockylinux:latest"
- "fedora:latest"
- "fedora:rawhide"
container:
image: ${{ matrix.container }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: apt
run: apt-get -y update && apt-get -y install curl gnupg2 gnupg gpg || true
- name: install ${{ matrix.container }}
run: bash install.sh.in