Files
nixbox-config/.gitea/workflows/validate-nixos-config.yml
T
mapclyps ea25687d88
Validate NixOS Config / test (push) Failing after 4m12s
check resolv in docker container
2024-08-25 21:55:11 +00:00

23 lines
516 B
YAML

name: Validate NixOS Config
on:
push:
branches:
- main # Adjust this to match your main branch name
pull_request:
branches:
- main # Adjust this to match your main branch name
jobs:
test:
runs-on: ubuntu-latest
container:
image: ubuntu
options: --cap-add=NET_RAW --cap-add=NET_ADMIN
steps:
- name: Install and run ping
run: |
cat /etc/resolv.conf
apt-get update && apt-get install -y iputils-ping
ping -c 4 google.com