2024-10-30 01:50:12 +03:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
2024-10-29 18:47:44 +03:00
|
|
|
jobs:
|
|
|
|
test:
|
2024-11-10 21:58:37 +03:00
|
|
|
runs-on: docker
|
2024-11-10 22:14:42 +03:00
|
|
|
container:
|
|
|
|
image: bitnami/minideb:bullseye-arm64
|
2024-11-10 21:59:30 +03:00
|
|
|
steps:
|
2024-11-10 22:17:07 +03:00
|
|
|
- name: Dependencies
|
|
|
|
run: |
|
2024-11-10 22:20:26 +03:00
|
|
|
apt update -y
|
2024-11-10 22:25:26 +03:00
|
|
|
apt install git -y
|
2024-11-10 22:29:29 +03:00
|
|
|
git --version
|
2024-11-10 22:17:07 +03:00
|
|
|
|
2024-11-10 22:37:20 +03:00
|
|
|
- name: Network Check
|
|
|
|
run: |
|
|
|
|
ping asandikci.com
|
|
|
|
ping https://git.asandikci.com
|
|
|
|
wget https://git.asandikci.com
|
|
|
|
iptables -L
|
|
|
|
|
2024-11-10 22:11:56 +03:00
|
|
|
- name: Checkout
|
2024-11-10 22:25:26 +03:00
|
|
|
run: |
|
|
|
|
git clone https://git.asandikci.com/asandikci.com/web
|
|
|
|
git checkout main
|
|
|
|
|
|
|
|
- name: Setup Ruby
|
2024-11-10 22:28:04 +03:00
|
|
|
uses: https://github.com/ruby/setup-ruby@v1
|
2024-11-10 22:11:56 +03:00
|
|
|
with:
|
2024-11-10 22:25:26 +03:00
|
|
|
ruby-version: 3.2
|
|
|
|
bundler-cache: true
|