31 lines
721 B
YAML
31 lines
721 B
YAML
on:
|
|
push:
|
|
workflow_dispatch:
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
container:
|
|
image: bitnami/minideb:bullseye-arm64
|
|
steps:
|
|
- name: Dependencies
|
|
run: |
|
|
apt update -y
|
|
apt install git wget inetutils-ping -y
|
|
git --version
|
|
|
|
- name: Network Check
|
|
run: |
|
|
ping -c 5 asandikci.com
|
|
ping -c 5 git.asandikci.com
|
|
wget https://git.asandikci.com
|
|
|
|
- name: Checkout
|
|
run: |
|
|
git clone https://git.asandikci.com/asandikci.com/web.git
|
|
git checkout main
|
|
|
|
- name: Setup Ruby
|
|
uses: https://github.com/ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.2
|
|
bundler-cache: true
|