Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
laduke committed Aug 28, 2024
1 parent 5dab744 commit d694483
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/install-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Curl | Bash Test
on:
push:
paths:
- install.sh.in
- .github/workflows/install-test.yml
# branches: [ main ]
schedule:
- cron: "0 0 * * 0" # weekly
jobs:
curl-bash:
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: curl -s https://install.zerotier.com | bash
13 changes: 13 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Shellcheck
on:
push:
paths:
- install.sh.in
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
1 change: 1 addition & 0 deletions install.sh.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# shellcheck disable=SC2148
ENDOFSIGSTART=

export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin
Expand Down

0 comments on commit d694483

Please sign in to comment.